{% if app.request.hasPreviousSession %}
{% for type, messages in app.session.flashbag.all() %}
{% for message in messages %}
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% endblock %}
{##}
{#{{ type }}
{% endif %}