Author: adrian Date: 2008-09-16 01:15:26 -0500 (Tue, 16 Sep 2008) New Revision: 9050
Modified: django/trunk/django/contrib/comments/templates/comments/approve.html django/trunk/django/contrib/comments/templates/comments/delete.html django/trunk/django/contrib/comments/templates/comments/flag.html django/trunk/django/contrib/comments/templates/comments/form.html django/trunk/django/contrib/comments/templates/comments/moderation_queue.html django/trunk/django/contrib/comments/templates/comments/preview.html django/trunk/django/contrib/comments/templates/comments/reply.html django/trunk/django/contrib/comments/templates/comments/reply_preview.html Log: Fixed #8870 -- Changed django.contrib.comments templates to use lowercase 'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda Modified: django/trunk/django/contrib/comments/templates/comments/approve.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/approve.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/approve.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -5,7 +5,7 @@ {% block content %} <h1>Really make this comment public?</h1> <blockquote>{{ comment|linebreaks }}</blockquote> - <form action="." method="POST"> + <form action="." method="post"> <input type="hidden" name="next" value="{{ next }}" id="next"> <p class="submit"> <input type="submit" name="submit" value="Approve"> or <a href="{{ comment.permalink }}">cancel</a> Modified: django/trunk/django/contrib/comments/templates/comments/delete.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/delete.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/delete.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -5,7 +5,7 @@ {% block content %} <h1>Really remove this comment?</h1> <blockquote>{{ comment|linebreaks }}</blockquote> - <form action="." method="POST"> + <form action="." method="post"> <input type="hidden" name="next" value="{{ next }}" id="next"> <p class="submit"> <input type="submit" name="submit" value="Remove"> or <a href="{{ comment.permalink }}">cancel</a> Modified: django/trunk/django/contrib/comments/templates/comments/flag.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/flag.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/flag.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -5,7 +5,7 @@ {% block content %} <h1>Really flag this comment?</h1> <blockquote>{{ comment|linebreaks }}</blockquote> - <form action="." method="POST"> + <form action="." method="post"> <input type="hidden" name="next" value="{{ next }}" id="next"> <p class="submit"> <input type="submit" name="submit" value="Flag"> or <a href="{{ comment.permalink }}">cancel</a> Modified: django/trunk/django/contrib/comments/templates/comments/form.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/form.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/form.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -1,5 +1,5 @@ {% load comments %} -<form action="{% comment_form_target %}" method="POST"> +<form action="{% comment_form_target %}" method="post"> {% for field in form %} {% if field.is_hidden %} {{ field }} Modified: django/trunk/django/contrib/comments/templates/comments/moderation_queue.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/moderation_queue.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/moderation_queue.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -44,11 +44,11 @@ {% for comment in comments %} <tr class="{% cycle 'row1' 'row2' %}"> <td class="actions"> - <form action="{% url comments-approve comment.pk %}" method="POST"> + <form action="{% url comments-approve comment.pk %}" method="post"> <input type="hidden" name="next" value="{% url comments-moderation-queue %}"> <input class="approve submit" type="submit" name="submit" value="Approve"> </form> - <form action="{% url comments-delete comment.pk %}" method="POST"> + <form action="{% url comments-delete comment.pk %}" method="post"> <input type="hidden" name="next" value="{% url comments-moderation-queue %}"> <input class="remove submit" type="submit" name="submit" value="Remove"> </form> Modified: django/trunk/django/contrib/comments/templates/comments/preview.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/preview.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/preview.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -4,7 +4,7 @@ {% block content %} {% load comments %} - <form action="{% comment_form_target %}" method="POST"> + <form action="{% comment_form_target %}" method="post"> {% if form.errors %} <h1>Please correct the error{{ form.errors|pluralize }} below</h1> {% else %} Modified: django/trunk/django/contrib/comments/templates/comments/reply.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/reply.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/reply.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -1,5 +1,5 @@ {% load comments %} -<form action="{% comment_form_target %}" method="POST"> +<form action="{% comment_form_target %}" method="post"> {% for field in form %} {% if field.is_hidden %} {{ field }} Modified: django/trunk/django/contrib/comments/templates/comments/reply_preview.html =================================================================== --- django/trunk/django/contrib/comments/templates/comments/reply_preview.html 2008-09-16 06:05:53 UTC (rev 9049) +++ django/trunk/django/contrib/comments/templates/comments/reply_preview.html 2008-09-16 06:15:26 UTC (rev 9050) @@ -4,7 +4,7 @@ {% block content %} {% load comments %} - <form action="{% comment_form_target %}" method="POST"> + <form action="{% comment_form_target %}" method="post"> {% if form.errors %} <h1>Please correct the error{{ form.errors|pluralize }} below</h1> {% else %} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---