{% import 'macros/base.twig' as m %}

{% for message in notifications('error') %}
    {{ m.alert(__(message), 'danger') }}
{% endfor %}

{% for message in notifications('warning') %}
    {{ m.alert(__(message), 'warning') }}
{% endfor %}

{% for message in notifications('information') %}
    {{ m.alert(__(message), 'info') }}
{% endfor %}

{% for message in notifications('message') %}
    {{ m.alert(__(message), 'success') }}
{% endfor %}
