summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/bs_form_snippet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-11-27 11:26:55 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit975b971ae6efacbd5614be7f057f32d7c302966b (patch)
tree300713d38252ed0fb9d25e48e8499b29523b7985 /ishtar_common/templates/blocks/bs_form_snippet.html
parent30bf32d6768f3c013b44e1ed76d94f9954d6e565 (diff)
downloadIshtar-975b971ae6efacbd5614be7f057f32d7c302966b.tar.bz2
Ishtar-975b971ae6efacbd5614be7f057f32d7c302966b.zip
Documents: dynamic filter of support and medium by document type - collapse related fields on edition
Diffstat (limited to 'ishtar_common/templates/blocks/bs_form_snippet.html')
-rw-r--r--ishtar_common/templates/blocks/bs_form_snippet.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/bs_form_snippet.html b/ishtar_common/templates/blocks/bs_form_snippet.html
index e24220005..3d84ce3dc 100644
--- a/ishtar_common/templates/blocks/bs_form_snippet.html
+++ b/ishtar_common/templates/blocks/bs_form_snippet.html
@@ -1,5 +1,5 @@
{% load i18n from_dict %}
-{% if form.non_field_errors %}
+{% if form.non_field_errors and not no_error %}
<div class="alert alert-danger" role="alert">
{{form.non_field_errors}}
</div>