diff --git a/django/contrib/comments/templates/comments/400-debug.html b/django/contrib/comments/templates/comments/400-debug.html index 3c4532b9b0b..29593b574bb 100644 --- a/django/contrib/comments/templates/comments/400-debug.html +++ b/django/contrib/comments/templates/comments/400-debug.html @@ -1,5 +1,5 @@ - - + + Comment post not allowed (400) diff --git a/django/contrib/comments/templates/comments/approve.html b/django/contrib/comments/templates/comments/approve.html index 1a3a3fd80c7..78d15dbb0e0 100644 --- a/django/contrib/comments/templates/comments/approve.html +++ b/django/contrib/comments/templates/comments/approve.html @@ -7,7 +7,7 @@

{% trans "Really make this comment public?" %}

{{ comment|linebreaks }}
{% csrf_token %} - {% if next %}{% endif %} + {% if next %}
{% endif %}

or cancel

diff --git a/django/contrib/comments/templates/comments/base.html b/django/contrib/comments/templates/comments/base.html index 36fc66f7d1f..b787246c9c2 100644 --- a/django/contrib/comments/templates/comments/base.html +++ b/django/contrib/comments/templates/comments/base.html @@ -1,5 +1,6 @@ - - + +.dtd"> + {% block title %}{% endblock %} diff --git a/django/contrib/comments/templates/comments/delete.html b/django/contrib/comments/templates/comments/delete.html index 5ff2add9c55..50c9a4d1b18 100644 --- a/django/contrib/comments/templates/comments/delete.html +++ b/django/contrib/comments/templates/comments/delete.html @@ -7,7 +7,7 @@

{% trans "Really remove this comment?" %}

{{ comment|linebreaks }}
{% csrf_token %} - {% if next %}{% endif %} + {% if next %}
{% endif %}

or cancel

diff --git a/django/contrib/comments/templates/comments/flag.html b/django/contrib/comments/templates/comments/flag.html index 0b9ab1ccb22..ca7c77f111b 100644 --- a/django/contrib/comments/templates/comments/flag.html +++ b/django/contrib/comments/templates/comments/flag.html @@ -7,7 +7,7 @@

{% trans "Really flag this comment?" %}

{{ comment|linebreaks }}
{% csrf_token %} - {% if next %}{% endif %} + {% if next %}
{% endif %}

or cancel

diff --git a/django/contrib/comments/templates/comments/form.html b/django/contrib/comments/templates/comments/form.html index 30f031128c7..2a9ad557dd8 100644 --- a/django/contrib/comments/templates/comments/form.html +++ b/django/contrib/comments/templates/comments/form.html @@ -1,9 +1,9 @@ {% load comments i18n %} {% csrf_token %} - {% if next %}{% endif %} + {% if next %}
{% endif %} {% for field in form %} {% if field.is_hidden %} - {{ field }} +
{{ field }}
{% else %} {% if field.errors %}{{ field.errors }}{% endif %}

{% csrf_token %} - {% if next %}{% endif %} + {% if next %}

{% endif %} {% if form.errors %}

{% blocktrans count form.errors|length as counter %}Please correct the error below{% plural %}Please correct the errors below{% endblocktrans %}

{% else %} @@ -18,7 +18,7 @@ {% endif %} {% for field in form %} {% if field.is_hidden %} - {{ field }} +
{{ field }}
{% else %} {% if field.errors %}{{ field.errors }}{% endif %}