From 07f051f17e3b8ad82edf3dd1521941c7fb24483d Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Fri, 11 Apr 2014 18:14:10 +0000 Subject: [PATCH] Add flashed messages to default site --- rophako/www/layout.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/rophako/www/layout.html b/rophako/www/layout.html index 981baf6..539b0c1 100644 --- a/rophako/www/layout.html +++ b/rophako/www/layout.html @@ -39,6 +39,18 @@
+ {% with messages = get_flashed_messages() %} + {% if messages %} +

Notice!

+ + + {% endif %} + {% endwith %} + {% block content %}{% endblock %}