From 98903300a0e745265b61e5fa7c1fef77b750c351 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 13 Jun 2011 18:40:44 +0200 Subject: Manage unique reference for operations (refs #260) + includetag for forms --- ishtar/templates/default_wizard.html | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'ishtar/templates/default_wizard.html') diff --git a/ishtar/templates/default_wizard.html b/ishtar/templates/default_wizard.html index 752728ab3..2b8ade350 100644 --- a/ishtar/templates/default_wizard.html +++ b/ishtar/templates/default_wizard.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load i18n %} {% load range %} +{% load table_form %} {% block extra_head %} {{form.media}} {% endblock %} @@ -19,29 +20,13 @@ {%if form.non_form_errors%}{{form.non_form_errors}}{%endif%} {{ form.management_form }} {% for formsetform in form.forms %} - {% for field in formsetform %} - - {{ field.label_tag }} - {{ field.errors }}{{field|safe}}{% if field.help_text %} - ? - - -
{{field.help_text}}
- {%endif%}{% endfor %} + {% table_form formsetform %} {% endfor %} {% else %} - {% for field in form %} - - - {% if field.help_text %} - - - - - {%endif%}{% endfor %} +{% table_form form %}
{{ field.label_tag }} {{ field.errors }}{{field|safe}}?
{{field.help_text}}
{% endif %} -- cgit v1.2.3