{% block item -%} {# If you want itemviews in your template, extend from show.html, not from here. #}
{# client side javascript may add messages here #} {% for category, msg in get_flashed_messages(with_categories=true) %}

{{ msg }}

{% endfor %}
{% block content %} {# show.html or other template will provide content #} {% endblock %}
{%- endblock %}