From 92d1c49f7639579a5b20d2fcd00c4430b191ee4d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 14 Feb 2018 18:02:11 +0100 Subject: UI: fix error message --- ishtar_common/templates/blocks/bs_field_snippet.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/blocks/bs_field_snippet.html b/ishtar_common/templates/blocks/bs_field_snippet.html index c157461b7..f9cdeb68e 100644 --- a/ishtar_common/templates/blocks/bs_field_snippet.html +++ b/ishtar_common/templates/blocks/bs_field_snippet.html @@ -1,5 +1,5 @@ {% load i18n %} -
+
{{ field.label_tag }} {% if field.help_text %}
@@ -13,6 +13,9 @@ + {% if field.errors %}
+ {{ field.errors }} +
{% endif %}
@@ -20,7 +23,8 @@
{% endif %} - {% if field.errors %}
+ {% if field.errors and not field.help_text %} +
{{ field.errors }}
{% endif %}
-- cgit v1.2.3