summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2008-09-16 06:15:26 +0000
committerAdrian Holovaty <adrian@holovaty.com>2008-09-16 06:15:26 +0000
commit8ec8e1a5e8990680e4e54e15bb3ff825d6704eec (patch)
tree9d32c7f798dffbc9a22e37c8ab0c45e7f4bd59ca
parent78fd5db4c5421441040a071961130978141a4e39 (diff)
Fixed #8870 -- Changed django.contrib.comments templates to use lowercase '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
-rw-r--r--django/contrib/comments/templates/comments/approve.html2
-rw-r--r--django/contrib/comments/templates/comments/delete.html2
-rw-r--r--django/contrib/comments/templates/comments/flag.html2
-rw-r--r--django/contrib/comments/templates/comments/form.html2
-rw-r--r--django/contrib/comments/templates/comments/moderation_queue.html4
-rw-r--r--django/contrib/comments/templates/comments/preview.html2
-rw-r--r--django/contrib/comments/templates/comments/reply.html2
-rw-r--r--django/contrib/comments/templates/comments/reply_preview.html2
8 files changed, 9 insertions, 9 deletions
diff --git a/django/contrib/comments/templates/comments/approve.html b/django/contrib/comments/templates/comments/approve.html
index 1f1d1f4090..af7858da63 100644
--- a/django/contrib/comments/templates/comments/approve.html
+++ b/django/contrib/comments/templates/comments/approve.html
@@ -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>
diff --git a/django/contrib/comments/templates/comments/delete.html b/django/contrib/comments/templates/comments/delete.html
index eb5406eee5..148fcdec90 100644
--- a/django/contrib/comments/templates/comments/delete.html
+++ b/django/contrib/comments/templates/comments/delete.html
@@ -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>
diff --git a/django/contrib/comments/templates/comments/flag.html b/django/contrib/comments/templates/comments/flag.html
index 2a65ab379c..b6905f2915 100644
--- a/django/contrib/comments/templates/comments/flag.html
+++ b/django/contrib/comments/templates/comments/flag.html
@@ -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>
diff --git a/django/contrib/comments/templates/comments/form.html b/django/contrib/comments/templates/comments/form.html
index 4861243745..183b668c5f 100644
--- a/django/contrib/comments/templates/comments/form.html
+++ b/django/contrib/comments/templates/comments/form.html
@@ -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 }}
diff --git a/django/contrib/comments/templates/comments/moderation_queue.html b/django/contrib/comments/templates/comments/moderation_queue.html
index 2a45757e6e..8f09b2f05d 100644
--- a/django/contrib/comments/templates/comments/moderation_queue.html
+++ b/django/contrib/comments/templates/comments/moderation_queue.html
@@ -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>
diff --git a/django/contrib/comments/templates/comments/preview.html b/django/contrib/comments/templates/comments/preview.html
index fd2571335a..0947476865 100644
--- a/django/contrib/comments/templates/comments/preview.html
+++ b/django/contrib/comments/templates/comments/preview.html
@@ -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 %}
diff --git a/django/contrib/comments/templates/comments/reply.html b/django/contrib/comments/templates/comments/reply.html
index 4291a90d45..a36cdee595 100644
--- a/django/contrib/comments/templates/comments/reply.html
+++ b/django/contrib/comments/templates/comments/reply.html
@@ -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 }}
diff --git a/django/contrib/comments/templates/comments/reply_preview.html b/django/contrib/comments/templates/comments/reply_preview.html
index fd2571335a..0947476865 100644
--- a/django/contrib/comments/templates/comments/reply_preview.html
+++ b/django/contrib/comments/templates/comments/reply_preview.html
@@ -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 %}