blob: 99719920cec765fed7207641d4a5910574059ac8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{% extends "base.html" %}
{% load i18n %}
{% load range %}
{% block content %}
<ul id='form_path'>
{% for step in extra_context.previous_steps %}
<li>» <a href='{%url action_form CURRENT_ACTION step.slug%}'>{{step.label}}</a></li>
{% endfor %}
<li class='current'>» <a href='{%url action_form CURRENT_ACTION extra_context.current_step.slug%}'>{{extra_context.current_step.label}}</a></li>
</ul>
<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 %}
|