diff options
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/confirm_wizard.html')
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/confirm_wizard.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html new file mode 100644 index 000000000..bd80e3967 --- /dev/null +++ b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html @@ -0,0 +1,34 @@ +{% 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>{%if confirm_msg %}{{confirm_msg|safe}}{%else%}{% trans "You have entered the following informations:" %}{%endif%}</p> + {% for form_label, form_data in datas %} + <table class='confirm'> + <caption>{{form_label}}</caption> + {% for label, data, cls in form_data %} + <tr{%if cls%} class='{{cls}}'{%endif%}><th>{{label}}</th><td>{{data}}</td></tr> + {% endfor %} + </table> + {% endfor %} +{{wizard.management_form}} + {%if not wizard.form.is_hidden %} + <table> + {{ wizard.form.as_table }} + </table> + {%endif%} + <p>{%if confirm_end_msg %}{{confirm_end_msg|safe}}{%else%}{% trans "Would you like to save them?" %}{%endif%}</p> + <input type="hidden" name="{{ step_field }}" value="{{ step0 }}" /> + {{ previous_fields|safe }} + <input type="submit" value="{% trans "Validate" %}"/> +</div> +</form> +{% endblock %} |