From 2759f6812c274ddcfca3cc78d02d05b56cd33241 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 21 Jun 2020 04:53:08 +0200 Subject: [PATCH] use bootstrap alerts for flashes --- WebHost/templates/layout.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/WebHost/templates/layout.html b/WebHost/templates/layout.html index c90ebc11..309bc3ac 100644 --- a/WebHost/templates/layout.html +++ b/WebHost/templates/layout.html @@ -9,13 +9,9 @@ {% with messages = get_flashed_messages() %} - {% if messages %} - - {% endif %} + {% for message in messages %} + + {% endfor %} {% endwith %} {% block body %}{% endblock %}