{% if flashes %}
{% for flash in flashes %}
{% endif %}
{% block content %}{% endblock %}
{{ flash.message }}
{% endfor %}