vuejs-userservice/dal/templates/includes/_messages.html

7 lines
291 B
HTML
Raw Normal View History

2018-11-10 12:10:17 +00:00
{% 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 %}