From 2bdad0ae7a3a6e4ec5116becd39910388b679ed2 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 4 Oct 2012 15:39:08 +0200 Subject: restructure --- templates/edit.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/edit.html (limited to 'templates/edit.html') diff --git a/templates/edit.html b/templates/edit.html new file mode 100644 index 0000000..5d04b3f --- /dev/null +++ b/templates/edit.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block content %} +{% block beforeform %}{% endblock %} + +
+ {% block justbeforeform %}{% endblock %} +
+
+ {% block beforefields %}{% endblock %} + {% for field in form %} + {% if field.is_hidden %} + {{ field }} + {% else %} +
+ {{ field.errors }} + +
{{ field }}
+
+ {% endif %} + {% endfor %} +
+ + +
+
+
+
+{% endblock %} \ No newline at end of file -- cgit v1.1