summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/form_snippet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-30 16:38:15 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-30 16:38:15 +0200
commit98dfb2e3b06d04248a39b18019a46c2bb63efb8c (patch)
tree7406d366ef6baa7b421f98f9bb1aed3bc1b17a29 /ishtar_common/templates/blocks/form_snippet.html
parent3a4a2cf0ef72f044f0ca1c42fb2714b362252753 (diff)
downloadIshtar-98dfb2e3b06d04248a39b18019a46c2bb63efb8c.tar.bz2
Ishtar-98dfb2e3b06d04248a39b18019a46c2bb63efb8c.zip
Sources wizard: fix author deletion (refs #3634)
Diffstat (limited to 'ishtar_common/templates/blocks/form_snippet.html')
-rw-r--r--ishtar_common/templates/blocks/form_snippet.html5
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 %}