{% from 'modal_dialogs.html' import restrict_modal, delete_book, filechooser_modal, delete_confirm_modal, change_confirm_modal %} {% from 'book_cover.html' import book_cover_image %} {{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 %} {% block flash %}{% endblock %} {% 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 %}