summaryrefslogtreecommitdiff
path: root/ishtar/templates/file_wizard.html
blob: d9e6a2d8dc98d7489d96b1cf23304b9b22ce0438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 %}