summaryrefslogtreecommitdiff
path: root/ishtar/templates/file_wizard.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2010-12-28 18:53:43 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2010-12-28 19:13:18 +0100
commit537b4b443b5e9232a90b506c804c52ea0ed396ba (patch)
treed029ca34d5ec5c7bd95b1ee50898936d13f8cacb /ishtar/templates/file_wizard.html
parent93c4a26b633285c1e95de5ba304916870a17aa5c (diff)
downloadIshtar-537b4b443b5e9232a90b506c804c52ea0ed396ba.tar.bz2
Ishtar-537b4b443b5e9232a90b506c804c52ea0ed396ba.zip
First work on the wizard (refs #51)
Diffstat (limited to 'ishtar/templates/file_wizard.html')
-rw-r--r--ishtar/templates/file_wizard.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/ishtar/templates/file_wizard.html b/ishtar/templates/file_wizard.html
new file mode 100644
index 000000000..d9e6a2d8d
--- /dev/null
+++ b/ishtar/templates/file_wizard.html
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load range %}
+{% block content %}
+{% if step > 1 %}
+{% for step_num in step|get_range %}
+<form action="." method="post">{% csrf_token %}
+<input type="submit" value="Step {{step_num}}">
+{{ previous_fields|safe }}
+<input type="hidden" name="{{ next_step_field }}" value="1" />
+</form>
+{% endfor %}
+{% endif %}
+<form action="." method="post">{% csrf_token %}
+<table>
+{{ form }}
+</table>
+<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
+{{ previous_fields|safe }}
+<input type="submit">
+</form>
+{% endblock %}