blob: b2c6a5d8b6884e3ce9575ad8ec7249638d396334 [file] [log] [blame]
Akronca9bd982016-12-06 16:59:57 +01001{% with messages = get_flashed_messages(with_categories=true) %}
2{% if messages %}
3{% for category, message in messages %}
4<div class="alert alert-{{ category }}" role="alert">
5 <span class="sr-only">{{ category }}:</span>
6 {{ message }}
7</div>
8{% endfor %}
9{% endif %}
10{% endwith %}