Curie-Web/app/templates/flash_messages.html

7 lines
239 B
HTML
Raw Normal View History

2020-06-24 19:09:05 +01:00
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert alert-{{ category }}">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}