{%macro flash_messages()%}
{%for category,message in get_flashed_messages(with_categories=true)%} {%endfor%}
{%endmacro%}