From ec839d583fff6b279c7cdec2fdf87762f81f9aa5 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 2 Oct 2012 22:23:54 +0200 Subject: - bootstrap - cleanup - bugfixes --- src/templates/edit.html | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'src/templates/edit.html') diff --git a/src/templates/edit.html b/src/templates/edit.html index dc6cf08..b3ea958 100644 --- a/src/templates/edit.html +++ b/src/templates/edit.html @@ -2,25 +2,30 @@ {% load prefix %} {% block content %} {% block beforeform %}{% endblock %} -

{{formtitle}}

-
-{% block beforefields %}{% 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