{% for type, messages in app.flashes %}
{{ messages | join('. ') }}
{% endfor %}