ungleich-user/dal/templates/includes/_messages.html
2019-02-17 17:43:06 +01:00

7 lines
No EOL
291 B
HTML

{% if messages %}
<ul class="list-unstyled msg-list">
{% for message in messages %}
<div class="alert {% if message.tags and message.tags == 'error' %} alert-danger {% else %} alert-{{message.tags}} {% endif %}">{{ message|safe }}</div>
{% endfor %}
</ul>
{% endif %}