This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for type, messages in app.session.flashBag.all %} | |
{% for message in messages %} | |
{%if type == 'error'%} {% set type = 'danger' %} {%endif%} | |
<div class="alert alert-{{ type }}"> | |
{{ message|raw }} | |
</div> | |
{% endfor %} | |
{% endfor %} |