pytask/templates/templatetags/_as_div_form.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 01 Feb 2011 02:31:53 +0530
changeset 540 b07d52d49db7
parent 435 1217d808d70f
permissions -rw-r--r--
Initial tags for the chapters should not contain Textbook as the keyword.

{% load form_helpers %}

<form action="{{ action_url }}" method="post"
    {% if file_support %}
      enctype="multipart/form-data"
    {% else %}
      >
    {% endif %}
  {% csrf_token %}
  <div id="form">
    {% for field in form %}
      {% as_div_field field %}
    {% endfor %}
    <p class="submit"><button type="submit">{{ button_label }}</button></p>
  </div>
</form>