From e02796f287c8301dc42afa3c5d3b2c4e4c8deefe Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sun, 1 Jul 2018 01:26:43 +0200 Subject: [PATCH] Added alert template --- wowfunding/templates/messages.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 wowfunding/templates/messages.html diff --git a/wowfunding/templates/messages.html b/wowfunding/templates/messages.html new file mode 100644 index 0000000..53ee556 --- /dev/null +++ b/wowfunding/templates/messages.html @@ -0,0 +1,19 @@ +{% with messages = get_flashed_messages() %} +{% if messages %} +
+
+ {% for message in messages %} + {% if message.category != 'error' %} +
+ {{ message }} +
+ {% else %} +
+ {{ message }} +
+ {% endif %} + {% endfor %} +
+
+{% endif %} +{% endwith %}