diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-30 17:26:44 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-30 17:26:44 +0200 |
| commit | 726713f95f91fa83a8e1473625162ae831309952 (patch) | |
| tree | 2b8ab152e92a95948e9a038ebcef815bfd56aa38 /ishtar_common/templates/blocks/form_snippet.html | |
| parent | fd21739351daf697188329948492c65b1a9bd7e6 (diff) | |
| parent | 483fcd46fb60a597959bfde9d00bde4cc1822cd2 (diff) | |
| download | Ishtar-726713f95f91fa83a8e1473625162ae831309952.tar.bz2 Ishtar-726713f95f91fa83a8e1473625162ae831309952.zip | |
Merge branch 'master' into develop
Diffstat (limited to 'ishtar_common/templates/blocks/form_snippet.html')
| -rw-r--r-- | ishtar_common/templates/blocks/form_snippet.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/form_snippet.html b/ishtar_common/templates/blocks/form_snippet.html index 2f841e078..5ee88e25f 100644 --- a/ishtar_common/templates/blocks/form_snippet.html +++ b/ishtar_common/templates/blocks/form_snippet.html @@ -10,4 +10,7 @@ </tr> <tr class="help_text" id="{{field.auto_id}}_help"> <td colspan="3"><div>{{field.help_text}}</div></td> - {%endif%}</tr>{% else %}{{field}}{% endif %}{% endfor %} + {%endif%}</tr>{% else %}{{field}}{% if field.errors %} + <tr class='errors'> + <td colspan='3'>{{field.name}} - {{ field.errors }}</td> + </tr>{% endif %}{{field|safe}}{% endif %}{% endfor %} |
