dynamicweb/hosting/templates/hosting/includes/_messages.html
Arvind Tiwari 3370f06bff msg fix
2017-10-15 02:30:42 +05:30

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 %}