{% for flashMessage in app.session.flashbag.get("success") %} {% endfor %} {% for flashMessage in app.session.flashbag.get("danger") %} {% endfor %} {% for flashMessage in app.session.flashbag.get("warning") %} {% endfor %}