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.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/ishtar/templates/file_wizard.html b/ishtar/templates/file_wizard.html
index d9e6a2d8d..4ac4644e6 100644
--- a/ishtar/templates/file_wizard.html
+++ b/ishtar/templates/file_wizard.html
@@ -2,15 +2,12 @@
{% 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>
+<ul id='form_path'>
+{% for step in extra_context.previous_steps %}
+ <li>&raquo; <a href='{%url action CURRENT_ACTION step.slug%}'>Step {{step.slug}}</a></li>
{% endfor %}
-{% endif %}
+ <li class='current'>&raquo; <a href='{%url action CURRENT_ACTION current_step.slug%}'>Step {{current_step.slug}}</a></li>
+</ul>
<form action="." method="post">{% csrf_token %}
<table>
{{ form }}