Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@adrianholovaty adrianholovaty authored
View
2  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>
View
2  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>
View
2  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>
View
2  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 }}
View
4 django/contrib/comments/templates/comments/moderation_queue.html
@@ -44,11 +44,11 @@ <h1 id="site-name">Comment moderation queue</h1>
{% 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>
View
2  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 %}
View
2  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 }}
View
2  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 %}
Please sign in to comment.
Something went wrong with that request. Please try again.