{% from 'modal_restriction.html' import restrict_modal %} {{instance}} | {{title}} {% block header %}{% endblock %} {% if g.current_theme == 1 %} {% endif %} {% for message in get_flashed_messages(with_categories=True) %} {%if message[0] == "error" %}
{{ message[1] }}
{%endif%} {%if message[0] == "info" %}
{{ message[1] }}
{%endif%} {%if message[0] == "warning" %}
{{ message[1] }}
{%endif%} {%if message[0] == "success" %}
{{ message[1] }}
{%endif%} {% endfor %} {% if g.current_theme == 1 %} {%endif%}
{% if g.user.is_authenticated or g.allow_anonymous %}
{% endif %}
{% block body %}{% endblock %} {% if pagination and (pagination.has_next or pagination.has_prev) %} {% endif %}
{% block modal %}{% endblock %} {% if g.current_theme == 1 %} {% endif %} {% block js %}{% endblock %}