{% extends "layout.html" %} {% macro text_table_row(parameter, edit_text, show_text, validate, sort) -%} {{ show_text }} {%- endmacro %} {% block header %} {% endblock %} {% block body %}

{{_(title)}}

{{_('Merge selected books')}}
{{_('Remove Selections')}}
{{_('Exchange author and title')}}
{% if g.user.role_edit() %} {% endif %} {{ text_table_row('title', _('Enter Title'),_('Title'), true, true) }} {{ text_table_row('sort', _('Enter Title Sort'),_('Title Sort'), false, true) }} {{ text_table_row('author_sort', _('Enter Author Sort'),_('Author Sort'), false, true) }} {{ text_table_row('authors', _('Enter Authors'),_('Authors'), true, true) }} {{ text_table_row('tags', _('Enter Categories'),_('Categories'), false, true) }} {{ text_table_row('series', _('Enter Series'),_('Series'), false, true) }} {{ text_table_row('languages', _('Enter Languages'),_('Languages'), false, true) }} {{ text_table_row('publishers', _('Enter Publishers'),_('Publishers'), false, true) }} {% for c in cc %} {% if c.datatype == "int" %} {% elif c.datatype == "rating" %} {% elif c.datatype == "float" %} {% elif c.datatype == "enumeration" %} {% elif c.datatype in ["bool", "datetime", "comments"] %} {% elif c.datatype == "text" %} {{ text_table_row('custom_column_' + c.id|string, _('Enter ') + c.name, c.name, false, false) }} {% else %} {% endif %} {% endfor %} {% if g.user.role_delete_books() and g.user.role_edit()%} {% endif %}
{{_('Series Index')}}{{c.name}}{{c.name}}{{c.name}}{{c.name}}{{_('Delete')}}
{% endblock %} {% block modal %} {{ delete_book() }} {% if g.user.role_edit() %} {% endif %} {% endblock %} {% block js %} {% if not g.user.locale == 'en' %} {% endif %} {% endblock %}