From 85b6c6dc096dfbf44d51a13a8a9d16e152e58fe8 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 3 Mar 2011 11:48:43 +0100 Subject: client side validation --- templates/edit_fieldsets.html | 59 ++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 29 deletions(-) (limited to 'templates/edit_fieldsets.html') diff --git a/templates/edit_fieldsets.html b/templates/edit_fieldsets.html index 75885d7..76778c1 100644 --- a/templates/edit_fieldsets.html +++ b/templates/edit_fieldsets.html @@ -3,39 +3,40 @@ {% block content %} {% block beforeform %} {% endblock %} -
-
+
+

{{formtitle}}

{% if form.non_field_errors %}{{ form.non_field_errors }}{% endif %} {% for fieldset in form.fieldsets %}
- {% if fieldset.legend %} - {{ fieldset.legend }} - {% endif %} - {% if fieldset.description %} -

{{ fieldset.description }}

- {% endif %} - + {% if fieldset.legend %} + {{ fieldset.legend }} + {% endif %} + {% if fieldset.description %} +

{{ fieldset.description }}

+ {% endif %} +
{% endfor %} -
-
-
- - - -
- +
+
    +
  • +
  • +
  • +
+
+ +
{% endblock %} \ No newline at end of file -- cgit v1.1