Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #9141 -- Removed two templates from django.contrib.comments tha…

…t were not being used.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cf34d1f6870b0651c52f50a670f31f33201cd7a3 1 parent d343aa3
@malcolmt malcolmt authored
View
19 django/contrib/comments/templates/comments/reply.html
@@ -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>
View
34 django/contrib/comments/templates/comments/reply_preview.html
@@ -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 %}
Please sign in to comment.
Something went wrong with that request. Please try again.