{% with messages = get_flashed_messages(with_categories=True) %} {% if messages %} {% for category, message in messages %} @@ -204,7 +204,7 @@ {# application content needs to be provided in the app_content block #} {% block app_content %}{% endblock %}