2017-10-01 18:16:05 +00:00
|
|
|
{% if messages %}
|
|
|
|
<ul class="list-unstyled msg-list">
|
|
|
|
{% for message in messages %}
|
2017-10-14 21:00:42 +00:00
|
|
|
<div class="alert {% if message.tags and message.tags == 'error' %} alert-danger {% else %} alert-{{message.tags}} {% endif %}">{{ message|safe }}</div>
|
2017-10-01 18:16:05 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|