pytask/templates/templatetags/_as_div_form.html
changeset 424 5ed0362bd674
child 431 fcc87a3f0311
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/templatetags/_as_div_form.html	Sun Jan 16 17:02:02 2011 +0530
@@ -0,0 +1,12 @@
+{% load form_helpers %}
+
+<form action="{{ action_url }}" method="post">
+  {% 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>
+