From de9f55c420ec2a4df0d9c29b397f94031398b4a3 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 25 Sep 2013 11:34:15 +0200 Subject: [PATCH] show up fields error if any --- portal/templates/contact.html | 2 +- portal/templates/slice-request-view.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/portal/templates/contact.html b/portal/templates/contact.html index 9151a54d..a174a5c8 100644 --- a/portal/templates/contact.html +++ b/portal/templates/contact.html @@ -19,7 +19,7 @@ {% for field in form %}
-
{{ field }}

{{ field.help_text }}

+
{{ field.errors }} {{ field }}

{{ field.help_text }}

{% endfor %}
diff --git a/portal/templates/slice-request-view.html b/portal/templates/slice-request-view.html index d324f2b9..627a05c0 100644 --- a/portal/templates/slice-request-view.html +++ b/portal/templates/slice-request-view.html @@ -21,7 +21,7 @@ {% for field in form %}
-
{{ field }}

{{ field.help_text }}

+
{{ field.errors }} {{ field }}

{{ field.help_text }}

{% endfor %}
-- 2.43.0