{% for type, messages in app.flashes %}
{% for message in messages %}
{% include 'flashes/flash.html.twig' %}
{% endfor %}