From fc10f1fcfdff57a9250ef18daf761d8784be92da Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 3 Dec 2010 23:20:31 +0100 Subject: coip wsgi driver --- templates/edit.html | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'templates/edit.html') diff --git a/templates/edit.html b/templates/edit.html index 7ada9a1..404751a 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -4,19 +4,23 @@ $('#id_description').wysiwyg(); {% endblock %} {% block content %} + {% block beforeform %} + {% endblock %}

{{formtitle}}

- +
{% for field in form %} - {% if field.errors %} - - {% endif %} - - - - + {% endfor %}
{{ field.errors }}
{{ field.label_tag }}
{{ field }}
+ {% if not field.is_hidden %} +
{{ field.label_tag }}
+ {% endif %} + {% if field.errors %} +
{{ field.errors }}
+ {% endif %} +
{{ field }}
+
-- cgit v1.1