mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-23 01:39:59 +00:00
11 lines
335 B
HTML
11 lines
335 B
HTML
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-dismissable alert-{{ category }}" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|