From 7d2aa560ba859ebb593d34b062bf1faf09c8724c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Oct 2012 17:49:57 +0200 Subject: Djangoization - Major refactoring (step 1) --- .../templates/ishtar/wizard/default_wizard.html | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ishtar_common/templates/ishtar/wizard/default_wizard.html (limited to 'ishtar_common/templates/ishtar/wizard/default_wizard.html') diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html new file mode 100644 index 000000000..1996f4e46 --- /dev/null +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} +{% load i18n %} +{% load range %} +{% load table_form %} +{% block extra_head %} +{{form.media}} +{% endblock %} +{% block content %} +
{% csrf_token %} + +
+{% if reminder %}
{{ reminder }}
{%endif%} +{{ wizard.form.media }} +{{ wizard.management_form }} +{% if wizard.form.forms %} + {{ wizard.form.management_form }} +
+ + {%if wizard.form.non_form_errors%}{%endif%} + {% for formsetform in wizard.form.forms %} + {% table_form formsetform %} + {% endfor %} + +
{{wizard.form.non_form_errors}}
+{% else %} + +{% table_form wizard.form %} +
+{% endif %} + +{{ previous_fields|safe }} + +{% if next_steps %}{% endif %} +
+
+{% endblock %} -- cgit v1.2.3