2016-08-04 05:21:04 +02:00
|
|
|
{% if messages %}
|
2016-09-10 22:49:07 +02:00
|
|
|
<div class="row messages">
|
|
|
|
{% for message in messages %}
|
|
|
|
<div class="col-sm-12 item">
|
2017-04-15 12:36:11 +02:00
|
|
|
<div class="alert alert-{{ message.level_tag }} alert-dismissible fade in {{ message.tags }}">
|
2016-09-10 22:49:07 +02:00
|
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span></button>
|
|
|
|
{% if 'safe' in message.tags %}
|
|
|
|
{{ message|safe }}
|
|
|
|
{% else %}
|
|
|
|
{{ message }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2016-08-04 05:21:04 +02:00
|
|
|
{% endif %}
|