blob: 95e8e88412e01e7cfa0468fb9ee8ec641fbd33d2 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
{% 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>
{% if wizard.form.name.errors %}<tr>
<td colspan="2">{{wizard.form.name.errors}}</td>
</tr>{% endif %}
<tr class='required'>
<th><label for="id_preventiveplanning-{{CURRENT_ACTION}}-name">Nom de l'aménagement</label></th>
</tr>
<tr class='required'>
<td>{{wizard.form.name|safe}}</td>
</tr>
</table>
<h4>Localisation</h4>
<table>
{% if wizard.form.main_town.errors %}<tr>
<td colspan="2">{{wizard.form.main_town.errors}}</td>
</tr>{% endif %}
<tr>
<th colspan='2'><label for="id_preventiveplanning-{{CURRENT_ACTION}}-towns">{% trans "Towns" %}</label></th>
</tr>
<tr>
<td>{{wizard.form.town|safe}}</td>
</tr>
{% if wizard.form.department.errors %}<tr>
<td colspan="2">{{wizard.form.department.errors}}</td>
</tr>{% endif %}
<tr>
<th colspan='2'><label for="id_preventiveplanning-{{CURRENT_ACTION}}-department">{% trans "Departments" %}</label></th>
</tr>
<tr>
<td>{{wizard.form.department|safe}}</td>
</tr>
{% if wizard.form.locality.errors %}<tr>
<td colspan="2">{{wizard.form.locality.errors}}</td>
</tr>{% endif %}
<tr>
<th colspan='2'><label for="id_preventiveplanning-{{CURRENT_ACTION}}-locality">Lieu-dit</label></th>
</tr>
<tr>
<td colspan='2'>{{wizard.form.locality|safe}}</td>
</tr>
{% if wizard.form.address.errors %}<tr>
<td colspan="2">{{wizard.form.address.errors}}</td>
</tr>{% endif %}
<tr>
<th colspan='2'><label for="id_preventiveplanning-{{CURRENT_ACTION}}-address">Adresse</label></th>
</tr>
<tr>
<td colspan='2'>{{wizard.form.address|safe}}</td>
</tr>
{% if wizard.form.postal_code.errors %}<tr>
<td colspan="2">{{wizard.form.postal_code.errors}}</td>
</tr>{% endif %}
<tr>
<th colspan='2'><label for="id_preventiveplanning-{{CURRENT_ACTION}}-postal_code">Code postal</label></th>
</tr>
<tr>
<td colspan='2'>{{wizard.form.postal_code|safe}}</td>
</tr>
</table>
<h4>Surfaces</h4>
<table>
{% if wizard.form.total_surface.errors %}<tr>
<td colspan="2">{{wizard.form.total_surface.errors}}</td>
</tr>{% endif %}
<tr>
<th><label for="id_preventiveplanning-{{CURRENT_ACTION}}-total_surface">Surface totale des terrains</label></th>
</tr>
<tr>
<td>{{wizard.form.total_surface|safe}}</td>
</tr>
{% if wizard.form.total_developed_surface.errors %}<tr>
<td colspan="2">{{wizard.form.total_developed_surface.errors}}</td>
</tr>{% endif %}
<tr>
<th><label for="id_preventiveplanning-{{CURRENT_ACTION}}-total_developed_surface">Surface totale aménagée</label></th>
</tr>
<tr>
<td>{{wizard.form.total_developed_surface|safe}}</td>
</tr>
</table>
<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
{{ previous_fields|safe }}
{% block "footer" %}
<div id="footer">
{% block "validation_bar" %}
{% include 'ishtar/wizard/validation_bar.html' %}
{% endblock %}
{% include 'ishtar/blocks/footer.html' %}
</div>
{% endblock %}
</div>
</form>
{% endblock %}
|