diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-29 12:08:32 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-29 12:08:32 +0200 |
commit | 03a77731481b529e682f4ec9fc551f3602272021 (patch) | |
tree | f544d392f205d8486548f0fd0e1be73b18a5f236 /archaeological_files_pdl/templates | |
parent | 2728c5a51c474429bea741dc469fd87ed48cee32 (diff) | |
download | Ishtar-03a77731481b529e682f4ec9fc551f3602272021.tar.bz2 Ishtar-03a77731481b529e682f4ec9fc551f3602272021.zip |
Archaeological files: floatfield for surface - fix error display on main form
Diffstat (limited to 'archaeological_files_pdl/templates')
-rw-r--r-- | archaeological_files_pdl/templates/ishtar/wizard/wizard_preventiveplanning.html | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/archaeological_files_pdl/templates/ishtar/wizard/wizard_preventiveplanning.html b/archaeological_files_pdl/templates/ishtar/wizard/wizard_preventiveplanning.html index 1be5b1b36..304b58b76 100644 --- a/archaeological_files_pdl/templates/ishtar/wizard/wizard_preventiveplanning.html +++ b/archaeological_files_pdl/templates/ishtar/wizard/wizard_preventiveplanning.html @@ -8,6 +8,10 @@ <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> @@ -23,7 +27,6 @@ {% 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> @@ -31,6 +34,9 @@ <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> @@ -38,6 +44,9 @@ <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> @@ -45,6 +54,9 @@ <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> @@ -52,6 +64,9 @@ <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> @@ -64,6 +79,9 @@ <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> @@ -71,6 +89,9 @@ <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> |