9 lines
243 B
HTML
9 lines
243 B
HTML
{%- with messages = get_flashed_messages(with_categories=true) -%}
|
|
{% if messages %}
|
|
<ul class="flashes">
|
|
{% for category, message in messages %}
|
|
<li class="{{ category }}">{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{%- endwith %} |