project/templates/comments/form.html
author Parth buch <parth.buch.115@gmail.com>
Fri, 30 Sep 2011 18:53:41 +0530
branch2011
changeset 420 56e520066333
parent 1 fda1c66b25f9
permissions -rw-r--r--
removed the t-shirts thing as we are giving t-shirts to all attendes

{% 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>