From 6005baea467109e906d782021254c6c3134fcb18 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 26 Mar 2019 14:16:12 +0000 Subject: Add message flashing formatting --- app/templates/base.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'app/templates') diff --git a/app/templates/base.html b/app/templates/base.html index 98eddf2..9812c5f 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,5 +1,10 @@ {% extends 'bootstrap/base.html' %} +{% block styles %} +{{ super() }} + +{% endblock %} + {% block title %} {% if title %}{{ title }} -- AnnotateChange{% else %}Welcome to AnnotateChange{% endif %} {% endblock %} @@ -38,11 +43,11 @@ {% block content %}
- {% with messages = get_flashed_messages() %} + {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} -