diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 05:16:08 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 05:16:08 +0000 |
| commit | 3e2803f3e8723c121f751bb0d0c8c1d38b80b04c (patch) | |
| tree | 7ef605c4f6d0fcd341b299471cd8a434131c3230 | |
| parent | e4bc9e1f4aba25b4c0d31dbd9814414d4b5f0928 (diff) | |
[1.0.x] Fixed #9141 -- Removed two templates from django.contrib.comments that were not being used.
Backport of r9115 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/comments/templates/comments/reply.html | 19 | ||||
| -rw-r--r-- | django/contrib/comments/templates/comments/reply_preview.html | 34 |
2 files changed, 0 insertions, 53 deletions
diff --git a/django/contrib/comments/templates/comments/reply.html b/django/contrib/comments/templates/comments/reply.html deleted file mode 100644 index a36cdee595..0000000000 --- a/django/contrib/comments/templates/comments/reply.html +++ /dev/null @@ -1,19 +0,0 @@ -{% load comments %} -<form action="{% comment_form_target %}" method="post"> - {% for field in form %} - {% if field.is_hidden %} - {{ field }} - {% else %} - <p - {% if field.errors %} class="error"{% endif %} - {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> - {% if field.errors %}{{ field.errors }}{% endif %} - {{ field.label_tag }} {{ field }} - </p> - {% endif %} - {% endfor %} - <p class="submit"> - <input type="submit" name="submit" class="submit-post" value="Reply"> - <input type="submit" name="submit" class="submit-preview" value="Preview"> - </p> -</form> diff --git a/django/contrib/comments/templates/comments/reply_preview.html b/django/contrib/comments/templates/comments/reply_preview.html deleted file mode 100644 index 0947476865..0000000000 --- a/django/contrib/comments/templates/comments/reply_preview.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "comments/base.html" %} - -{% block title %}Preview your comment{% endblock %} - -{% block content %} - {% load comments %} - <form action="{% comment_form_target %}" method="post"> - {% if form.errors %} - <h1>Please correct the error{{ form.errors|pluralize }} below</h1> - {% else %} - <h1>Preview your comment</h1> - <blockquote>{{ comment|linebreaks }}</blockquote> - <p> - and <input type="submit" name="submit" value="Post your comment" id="submit"> or make changes: - </p> - {% endif %} - {% for field in form %} - {% if field.is_hidden %} - {{ field }} - {% else %} - <p - {% if field.errors %} class="error"{% endif %} - {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> - {% if field.errors %}{{ field.errors }}{% endif %} - {{ field.label_tag }} {{ field }} - </p> - {% endif %} - {% endfor %} - <p class="submit"> - <input type="submit" name="submit" class="submit-post" value="Post"> - <input type="submit" name="submit" class="submit-preview" value="Preview"> - </p> - </form> -{% endblock %} |
