From 84bc079a725d392fd3b37b1b5ea49c4e8aac31f5 Mon Sep 17 00:00:00 2001 From: Alban Date: Sat, 13 Oct 2012 14:52:39 +0200 Subject: [PATCH] Better display of flashed messages --- templates/layout.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/templates/layout.html b/templates/layout.html index 2436aa4..585ea5b 100755 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,12 +1,26 @@ Supysonic +

Supysonic

+ + {% if get_flashed_messages() %}
{% for message in get_flashed_messages() %} -

{{ message }}

+

{{ message }}

{% endfor %}
+ {% endif %} {% block body %}{% endblock %}