Django

Code

Changeset 9050

Show
Ignore:
Timestamp:
09/16/08 01:15:26 (4 months ago)
Author:
adrian
Message:

Fixed #8870 -- Changed django.contrib.comments templates to use lowercase 'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/comments/templates/comments/approve.html

    r9000 r9050  
    66  <h1>Really make this comment public?</h1> 
    77  <blockquote>{{ comment|linebreaks }}</blockquote> 
    8   <form action="." method="POST"> 
     8  <form action="." method="post"> 
    99    <input type="hidden" name="next" value="{{ next }}" id="next"> 
    1010    <p class="submit"> 
  • django/trunk/django/contrib/comments/templates/comments/delete.html

    r9000 r9050  
    66  <h1>Really remove this comment?</h1> 
    77  <blockquote>{{ comment|linebreaks }}</blockquote> 
    8   <form action="." method="POST"> 
     8  <form action="." method="post"> 
    99    <input type="hidden" name="next" value="{{ next }}" id="next"> 
    1010    <p class="submit"> 
  • django/trunk/django/contrib/comments/templates/comments/flag.html

    r9000 r9050  
    66  <h1>Really flag this comment?</h1> 
    77  <blockquote>{{ comment|linebreaks }}</blockquote> 
    8   <form action="." method="POST"> 
     8  <form action="." method="post"> 
    99    <input type="hidden" name="next" value="{{ next }}" id="next"> 
    1010    <p class="submit"> 
  • django/trunk/django/contrib/comments/templates/comments/form.html

    r8958 r9050  
    11{% load comments %} 
    2 <form action="{% comment_form_target %}" method="POST"> 
     2<form action="{% comment_form_target %}" method="post"> 
    33  {% for field in form %} 
    44    {% if field.is_hidden %} 
  • django/trunk/django/contrib/comments/templates/comments/moderation_queue.html

    r9000 r9050  
    4545        <tr class="{% cycle 'row1' 'row2' %}"> 
    4646          <td class="actions"> 
    47             <form action="{% url comments-approve comment.pk %}" method="POST"> 
     47            <form action="{% url comments-approve comment.pk %}" method="post"> 
    4848              <input type="hidden" name="next" value="{% url comments-moderation-queue %}"> 
    4949              <input class="approve submit" type="submit" name="submit" value="Approve"> 
    5050            </form> 
    51             <form action="{% url comments-delete comment.pk %}" method="POST"> 
     51            <form action="{% url comments-delete comment.pk %}" method="post"> 
    5252              <input type="hidden" name="next" value="{% url comments-moderation-queue %}"> 
    5353              <input class="remove submit" type="submit" name="submit" value="Remove"> 
  • django/trunk/django/contrib/comments/templates/comments/preview.html

    r9000 r9050  
    55{% block content %} 
    66  {% load comments %} 
    7   <form action="{% comment_form_target %}" method="POST"> 
     7  <form action="{% comment_form_target %}" method="post"> 
    88    {% if form.errors %} 
    99      <h1>Please correct the error{{ form.errors|pluralize }} below</h1> 
  • django/trunk/django/contrib/comments/templates/comments/reply.html

    r8557 r9050  
    11{% load comments %} 
    2 <form action="{% comment_form_target %}" method="POST"> 
     2<form action="{% comment_form_target %}" method="post"> 
    33  {% for field in form %} 
    44    {% if field.is_hidden %} 
  • django/trunk/django/contrib/comments/templates/comments/reply_preview.html

    r9000 r9050  
    55{% block content %} 
    66  {% load comments %} 
    7   <form action="{% comment_form_target %}" method="POST"> 
     7  <form action="{% comment_form_target %}" method="post"> 
    88    {% if form.errors %} 
    99      <h1>Please correct the error{{ form.errors|pluralize }} below</h1>