From c33af4c971f26fcf3e7eb61a6c3dd8e8af8418a6 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 11:06:55 +0100 Subject: restructure --- src/templates/edit.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/templates/edit.html (limited to 'src/templates/edit.html') diff --git a/src/templates/edit.html b/src/templates/edit.html new file mode 100644 index 0000000..f896a52 --- /dev/null +++ b/src/templates/edit.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} +{% block content %} + {% block beforeform %} + {% endblock %} +
+
+

{{formtitle}}

+ + {% for field in form %} + + + + + {% endfor %} +
+ {% if not field.is_hidden %} +
{{ field.label_tag }}
+ {% endif %} + {% if field.errors %} +
{{ field.errors }}
+ {% endif %} +
+
{{ field }}
+
+
+
+
+ + +
+
+{% endblock %} \ No newline at end of file -- cgit v1.1