project/templates/comments/form.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 10 Jan 2011 16:37:15 +0530
changeset 375 146fb4874a9c
parent 1 fda1c66b25f9
permissions -rw-r--r--
Fix the Part 3 Video link and remove Part 4 video link since it does not exist.

{% load comments %}
<h3>Comments</h3>
<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="Post" />
    <input type="submit" name="submit" class="submit-preview" value="Preview" />
  </p>
</form>