{# client side javascript may add messages here #}
{% for category, msg in get_flashed_messages(with_categories=true) %}
{% block content %}
{# show.html or other template will provide content #}
{% endblock %}
{{ msg }}
{% endfor %}