{% 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 %} {# All content templates should have implement this block. #} {% endblock %}
{%- endblock %}