{% if app.request.hasPreviousSession %} {% for tipo, mensajes in app.session.flashbag.all() %} {% for mensaje in mensajes %} {% endfor %} {% endfor %} {% endif %}