diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-30 16:50:58 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-30 16:50:58 +0200 |
| commit | 72b0a0276e70194666ff9110522f49f4e3f1476e (patch) | |
| tree | 6a41f63eabed5f6f3f7537585d5ae3f3a00e4d00 /ishtar_common/templates/blocks/form_snippet.html | |
| parent | 9fe30e305e1a114277e8473df415588bfacd188d (diff) | |
| parent | 483fcd46fb60a597959bfde9d00bde4cc1822cd2 (diff) | |
| download | Ishtar-72b0a0276e70194666ff9110522f49f4e3f1476e.tar.bz2 Ishtar-72b0a0276e70194666ff9110522f49f4e3f1476e.zip | |
Merge branch 'master' into v0.9
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 %} |
