Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.x] Fixed #9141 -- Removed two templates from django.contrib.comm…

…ents 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
  • Loading branch information...
commit 3e2803f3e8723c121f751bb0d0c8c1d38b80b04c 1 parent e4bc9e1
Malcolm Tredinnick authored October 05, 2008
19  django/contrib/comments/templates/comments/reply.html
... ...
@@ -1,19 +0,0 @@
1  
-{% load comments %}
2  
-<form action="{% comment_form_target %}" method="post">
3  
-  {% for field in form %}
4  
-    {% if field.is_hidden %}
5  
-      {{ field }}
6  
-    {% else %}
7  
-      <p
8  
-        {% if field.errors %} class="error"{% endif %}
9  
-        {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
10  
-        {% if field.errors %}{{ field.errors }}{% endif %}
11  
-        {{ field.label_tag }} {{ field }}
12  
-      </p>
13  
-    {% endif %}
14  
-  {% endfor %}
15  
-  <p class="submit">
16  
-    <input type="submit" name="submit" class="submit-post" value="Reply">
17  
-    <input type="submit" name="submit" class="submit-preview" value="Preview">
18  
-  </p>
19  
-</form>
34  django/contrib/comments/templates/comments/reply_preview.html
... ...
@@ -1,34 +0,0 @@
1  
-{% extends "comments/base.html" %}
2  
-
3  
-{% block title %}Preview your comment{% endblock %}
4  
-
5  
-{% block content %}
6  
-  {% load comments %}
7  
-  <form action="{% comment_form_target %}" method="post">
8  
-    {% if form.errors %}
9  
-      <h1>Please correct the error{{ form.errors|pluralize }} below</h1>
10  
-    {% else %}
11  
-      <h1>Preview your comment</h1>
12  
-      <blockquote>{{ comment|linebreaks }}</blockquote>
13  
-      <p>
14  
-        and <input type="submit" name="submit" value="Post your comment" id="submit"> or make changes:
15  
-      </p>
16  
-    {% endif %}
17  
-    {% for field in form %}
18  
-      {% if field.is_hidden %}
19  
-        {{ field }}
20  
-      {% else %}
21  
-        <p
22  
-          {% if field.errors %} class="error"{% endif %}
23  
-          {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
24  
-          {% if field.errors %}{{ field.errors }}{% endif %}
25  
-          {{ field.label_tag }} {{ field }}
26  
-        </p>
27  
-      {% endif %}
28  
-    {% endfor %}
29  
-    <p class="submit">
30  
-      <input type="submit" name="submit" class="submit-post" value="Post">
31  
-      <input type="submit" name="submit" class="submit-preview" value="Preview">
32  
-    </p>
33  
-  </form>
34  
-{% endblock %}

0 notes on commit 3e2803f

Please sign in to comment.
Something went wrong with that request. Please try again.