4969b9676e
"first" button
23 lines
805 B
HTML
23 lines
805 B
HTML
{% load i18n %}
|
|
{% block content %}
|
|
<p>Step {{ wizard.steps.step1 }} of {{ wizard.steps.count }}</p>
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
<table>
|
|
{{ wizard.management_form }}
|
|
{% if wizard.form.forms %}
|
|
{{ wizard.form.management_form }}
|
|
{% for form in wizard.form.forms %}
|
|
{{ form }}
|
|
{% endfor %}
|
|
{% else %}
|
|
{{ wizard.form }}
|
|
{% endif %}
|
|
</table>
|
|
{% if wizard.steps.prev %}
|
|
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.first }}">{% trans "first step" %}</button>
|
|
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% trans "prev step" %}</button>
|
|
{% endif %}
|
|
<input type="submit" value="{% trans "submit" %}"/>
|
|
</form>
|
|
{% endblock %}
|