{%for msg in get_flashed_messages()%}
{%if loop.first%}
{{msg}}
{%endif%}
{%endfor%}