blob: 4788a41fcccb9ff028134675bb662b28e5916403 (
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
26
27
28
29
30
31
32
|
{% extends "ishtar/wizard/default_wizard.html" %}
{% load i18n range table_form %}
{% block wizard_form %}
<form action="." method="post" name='wizard'{% if wizard.form.file_upload %} enctype="multipart/form-data"{% endif %}>{% csrf_token %}
<div class='form'>
{{ wizard.form.media }}
{{ wizard.management_form }}
<table class='formset'>
<caption>Statut</caption>
<tr>
<th><label>{% trans "Corporation" %}</label></th>
<td><input type='radio' name='person_type' value='corporation'/></td>
</tr>
<tr>
<th><label>{% trans "Natural person" %}</label></th>
<td><input type='radio' name='person_type' value='natural'/></td>
</tr>
</table>
<table>
{% table_form wizard.form %}
</table>
<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
{{ previous_fields|safe }}
<div id='validation-bar'>
<input type="submit" id="submit_form" name='validate' value="{% trans "Validate" %}"/>
{% if next_steps %}<input type="submit" id="submit_end_form" name='validate_and_end' value="{% trans "Validate and end" %}"/>{% endif %}
</div>
</div>
</form>
{% endblock %}
|