{# Upgrade messages result #}
<ul class="list-group span4">
{% for message in messages %}
    {% set label = "danger" %}
    {% if message.status == "ok" %}
        {% set label = "success" %}
    {% endif %}
    <li class="list-group-item">
        <span class="pull-right label label-{{ label }}">{{ message.status }}</span>
        {{ message.text }}
    </li>
{% endfor %}
</ul>

{# Go Back #}
<br/>
<a class="btn btn-sm btn-secondary-1" href="{{ url({}) }}">
    <i class="fas fa-arrow-left"></i>
    {{ _t('GO_BACK') }}
</a>
