blob: c83134dfbe77e6cc931b7900b8e32da30a264ac4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{% extends "base.html" %}
{% load i18n %}
{% load range %}
{% block content %}
<form action="." method="post">{% csrf_token %}
<ul id='form_path'>
{% for step in previous_steps %}
<li>» <button name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li>
{% endfor %}
<li class='current'>» <a href='#'>{{current_step.form_label}}</a></li>
</ul>
<div class='form'>
<p>{% trans "You have entered the following informations:" %}</p>
<table>
{% for label, data in datas %}
<tr><th>{{label}}</th><td>{{data}}</td></th>
{% endfor %}
</table>
<p>{% trans "Would you like to save them?" %}</p>
<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
{{ previous_fields|safe }}
<input type="submit" value="{% trans "Validate" %}"/>
</div>
</form>
{% endblock %}
|