From f41b22f173bb9c9c331fa9eab2a7a8d47d0a57db Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 4 Apr 2013 20:49:29 +0200 Subject: Inline formset to manage parcels --- .../templates/ishtar/wizard/parcels_wizard.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ishtar_common/templates/ishtar/wizard/parcels_wizard.html (limited to 'ishtar_common/templates/ishtar/wizard/parcels_wizard.html') diff --git a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html new file mode 100644 index 000000000..94e9820ab --- /dev/null +++ b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html @@ -0,0 +1,28 @@ +{% extends "ishtar/wizard/default_wizard.html" %} +{% load i18n range inline_formset %} +{% block extra_head %} +{{wizard.form.media}} +{% endblock %} +{% block wizard_form %} +
+{% if reminder %}
{{ reminder }}
{%endif%} +{{ wizard.form.media }} +{{ wizard.management_form }} + {{ wizard.form.management_form }} +
+ {%if wizard.form.non_form_errors%} + + +
{{wizard.form.non_form_errors}}
{%endif%} + + {% for field in wizard.form.forms.0 %}{% endfor %} + {% inline_formset 'Parcels' wizard.form.forms False %} +
{{ field.label_tag }}
+

+ +{{ previous_fields|safe }} + +{% if next_steps %}{% endif %} +
+ +{% endblock %} -- cgit v1.2.3