43 lines
961 B
HTML
43 lines
961 B
HTML
{% extends "base.html" %}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block extra_scripts %}
|
|
{{ block.super }}
|
|
{{ form.media }}
|
|
{{ wizard.form.media }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="hero-unit">
|
|
|
|
<h2>Étape {{ wizard.steps.step1 }} sur {{ wizard.steps.count }}</h2>
|
|
|
|
<form action="" method="post" enctype="multipart/form-data" class="bootstrap">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ wizard.management_form }}
|
|
|
|
{% if wizard.form.forms %}
|
|
{{ wizard.form.management_form }}
|
|
{% for form in wizard.form.forms %}
|
|
{{ form|crispy }}
|
|
{% endfor %}
|
|
{% else %}
|
|
{{ wizard.form|crispy }}
|
|
{% endif %}
|
|
|
|
<div>
|
|
<button name="submit" type="submit" class="btn pull-right"/>Suite <i class="icon-forward"></i></button>
|
|
{% if wizard.steps.prev %}
|
|
<button name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}" class="btn pull-left"><i class="icon-backward"></i> Retour</button>
|
|
{% endif %}
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div><!-- /hero-unit -->
|
|
|
|
{% endblock %}
|