~ubuntu-branches/ubuntu/jaunty/python-django/jaunty-backports

« back to all changes in this revision

Viewing changes to django/contrib/comments/templates/comments/reply.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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>