From 8ec8e1a5e8990680e4e54e15bb3ff825d6704eec Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 16 Sep 2008 06:15:26 +0000 Subject: [PATCH] Fixed #8870 -- Changed django.contrib.comments templates to use lowercase 'post' for
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 --- django/contrib/comments/templates/comments/approve.html | 2 +- django/contrib/comments/templates/comments/delete.html | 2 +- django/contrib/comments/templates/comments/flag.html | 2 +- django/contrib/comments/templates/comments/form.html | 2 +- .../contrib/comments/templates/comments/moderation_queue.html | 4 ++-- django/contrib/comments/templates/comments/preview.html | 2 +- django/contrib/comments/templates/comments/reply.html | 2 +- django/contrib/comments/templates/comments/reply_preview.html | 2 +- 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 %}

Really make this comment public?

{{ comment|linebreaks }}
- +

or cancel 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 %}

Really remove this comment?

{{ comment|linebreaks }}
- +

or cancel 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 %}

Really flag this comment?

{{ comment|linebreaks }}
- +

or cancel 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 %} - + {% 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 %} - +

-
+
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 %} -
+ {% if form.errors %}

Please correct the error{{ form.errors|pluralize }} below

{% 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 %} - + {% 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 %} - + {% if form.errors %}

Please correct the error{{ form.errors|pluralize }} below

{% else %}