summaryrefslogtreecommitdiff
path: root/ishtar/templates/file_wizard.html
blob: 4bb6a59c88623d748784f61845aa16e65c348509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}
{% load i18n %}
{% load range %}
{% block content %}
<ul id='form_path'>
{% for step in extra_context.previous_steps %}
  <li>&raquo; <a href='{%url action-form CURRENT_ACTION step.slug%}'>{{step.label}}</a></li>
{% endfor %}
  <li class='current'>&raquo; <a href='{%url action-form CURRENT_ACTION extra_context.current_step.slug%}'>{{extra_context.current_step.label}}</a></li>
</ul>
<div class='form'>
<form action="." method="post">{% csrf_token %}
<table>
{{ form }}
</table>
<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
{{ previous_fields|safe }}
<input type="submit" value="{% trans "Validate" %}"/>
</form>
</div>
{% endblock %}