+ {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} +
+ {% for level, message in messages %} + + {% endfor %} +
+ {% endif %} + {% endwith %} + + {%block content%} + {%endblock%} +