mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
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
This commit is contained in:
parent
78fd5db4c5
commit
8ec8e1a5e8
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 }}
|
||||
|
@ -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>
|
||||
|
@ -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 %}
|
||||
|
@ -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 }}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user