From 0887f04a15ebd3bb9436a3cc6bfcdd25c980f8e1 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Mon, 14 Aug 2017 18:01:02 +0200
Subject: [PATCH] Split multiple general form errors to serparate messages

---
 scipost/templates/tags/bootstrap/form.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/scipost/templates/tags/bootstrap/form.html b/scipost/templates/tags/bootstrap/form.html
index 97a499eb7..be6f10910 100644
--- a/scipost/templates/tags/bootstrap/form.html
+++ b/scipost/templates/tags/bootstrap/form.html
@@ -1,10 +1,10 @@
 {% if form.non_field_errors %}
-    <div class="alert alert-danger">
-        <a class="close" data-dismiss="alert">&times;</a>
-        {% for non_field_error in form.non_field_errors %}
-             {{ non_field_error }}
-        {% endfor %}
-    </div>
+    {% for non_field_error in form.non_field_errors %}
+        <div class="alert alert-danger">
+            <a class="close" data-dismiss="alert">&times;</a>
+            {{ non_field_error }}
+        </div>
+    {% endfor %}
 {% endif %}
 
 {% for field in form.hidden_fields %}
-- 
GitLab