summaryrefslogtreecommitdiff
path: root/ishtar/templates/file_wizard.html
diff options
context:
space:
mode:
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 %}