diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-29 10:58:46 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-29 10:58:46 +0100 |
commit | f1eca7a1eef6a2ff8bb87c4626001c231eb4c8fd (patch) | |
tree | 7856604c8fa5601a1b29adc0f1161501c33e0c7e /ishtar/templates/file_wizard.html | |
parent | 537b4b443b5e9232a90b506c804c52ea0ed396ba (diff) | |
download | Ishtar-f1eca7a1eef6a2ff8bb87c4626001c231eb4c8fd.tar.bz2 Ishtar-f1eca7a1eef6a2ff8bb87c4626001c231eb4c8fd.zip |
Integration of session wizard (refs #51)
Diffstat (limited to 'ishtar/templates/file_wizard.html')
-rw-r--r-- | ishtar/templates/file_wizard.html | 13 |
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>» <a href='{%url action CURRENT_ACTION step.slug%}'>Step {{step.slug}}</a></li> {% endfor %} -{% endif %} + <li class='current'>» <a href='{%url action CURRENT_ACTION current_step.slug%}'>Step {{current_step.slug}}</a></li> +</ul> <form action="." method="post">{% csrf_token %} <table> {{ form }} |