Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8870 -- Changed django.contrib.comments templates to use lower…

…case 'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8ec8e1a5e8990680e4e54e15bb3ff825d6704eec 1 parent 78fd5db
Adrian Holovaty authored September 16, 2008
2  django/contrib/comments/templates/comments/approve.html
@@ -5,7 +5,7 @@
5 5
 {% block content %}
6 6
   <h1>Really make this comment public?</h1>
7 7
   <blockquote>{{ comment|linebreaks }}</blockquote>
8  
-  <form action="." method="POST">
  8
+  <form action="." method="post">
9 9
     <input type="hidden" name="next" value="{{ next }}" id="next">
10 10
     <p class="submit">
11 11
       <input type="submit" name="submit" value="Approve"> or <a href="{{ comment.permalink }}">cancel</a>
2  django/contrib/comments/templates/comments/delete.html
@@ -5,7 +5,7 @@
5 5
 {% block content %}
6 6
   <h1>Really remove this comment?</h1>
7 7
   <blockquote>{{ comment|linebreaks }}</blockquote>
8  
-  <form action="." method="POST">
  8
+  <form action="." method="post">
9 9
     <input type="hidden" name="next" value="{{ next }}" id="next">
10 10
     <p class="submit">
11 11
       <input type="submit" name="submit" value="Remove"> or <a href="{{ comment.permalink }}">cancel</a>
2  django/contrib/comments/templates/comments/flag.html
@@ -5,7 +5,7 @@
5 5
 {% block content %}
6 6
   <h1>Really flag this comment?</h1>
7 7
   <blockquote>{{ comment|linebreaks }}</blockquote>
8  
-  <form action="." method="POST">
  8
+  <form action="." method="post">
9 9
     <input type="hidden" name="next" value="{{ next }}" id="next">
10 10
     <p class="submit">
11 11
       <input type="submit" name="submit" value="Flag"> or <a href="{{ comment.permalink }}">cancel</a>
2  django/contrib/comments/templates/comments/form.html
... ...
@@ -1,5 +1,5 @@
1 1
 {% load comments %}
2  
-<form action="{% comment_form_target %}" method="POST">
  2
+<form action="{% comment_form_target %}" method="post">
3 3
   {% for field in form %}
4 4
     {% if field.is_hidden %}
5 5
       {{ field }}
4  django/contrib/comments/templates/comments/moderation_queue.html
@@ -44,11 +44,11 @@ <h1 id="site-name">Comment moderation queue</h1>
44 44
       {% for comment in comments %}
45 45
         <tr class="{% cycle 'row1' 'row2' %}">
46 46
           <td class="actions">
47  
-            <form action="{% url comments-approve comment.pk %}" method="POST">
  47
+            <form action="{% url comments-approve comment.pk %}" method="post">
48 48
               <input type="hidden" name="next" value="{% url comments-moderation-queue %}">
49 49
               <input class="approve submit" type="submit" name="submit" value="Approve">
50 50
             </form>
51  
-            <form action="{% url comments-delete comment.pk %}" method="POST">
  51
+            <form action="{% url comments-delete comment.pk %}" method="post">
52 52
               <input type="hidden" name="next" value="{% url comments-moderation-queue %}">
53 53
               <input class="remove submit" type="submit" name="submit" value="Remove">
54 54
             </form>
2  django/contrib/comments/templates/comments/preview.html
@@ -4,7 +4,7 @@
4 4
 
5 5
 {% block content %}
6 6
   {% load comments %}
7  
-  <form action="{% comment_form_target %}" method="POST">
  7
+  <form action="{% comment_form_target %}" method="post">
8 8
     {% if form.errors %}
9 9
       <h1>Please correct the error{{ form.errors|pluralize }} below</h1>
10 10
     {% else %}
2  django/contrib/comments/templates/comments/reply.html
... ...
@@ -1,5 +1,5 @@
1 1
 {% load comments %}
2  
-<form action="{% comment_form_target %}" method="POST">
  2
+<form action="{% comment_form_target %}" method="post">
3 3
   {% for field in form %}
4 4
     {% if field.is_hidden %}
5 5
       {{ field }}
2  django/contrib/comments/templates/comments/reply_preview.html
@@ -4,7 +4,7 @@
4 4
 
5 5
 {% block content %}
6 6
   {% load comments %}
7  
-  <form action="{% comment_form_target %}" method="POST">
  7
+  <form action="{% comment_form_target %}" method="post">
8 8
     {% if form.errors %}
9 9
       <h1>Please correct the error{{ form.errors|pluralize }} below</h1>
10 10
     {% else %}

0 notes on commit 8ec8e1a

Please sign in to comment.
Something went wrong with that request. Please try again.