{% extends "layout.html" %} {% block body %} {% if book %}
{% if book.has_cover is defined %} {% endif %}
{% if cc|length > 0 %} {% for c in cc %}
{% if c.datatype == 'bool' %} {% endif %} {% if c.datatype in ['text', 'series'] and not c.is_multiple %} 0 %} value="{{ book['custom_column_' ~ c.id][0].value }}" {% endif %}> {% endif %} {% if c.datatype in ['text', 'series'] and c.is_multiple %} 0 %} value="{% for column in book['custom_column_' ~ c.id] %}{{ column.value.strip() }}{% if not loop.last %}, {% endif %}{% endfor %}"{% endif %}> {% endif %} {% if c.datatype == 'enumeration' %} {% endif %} {% if c.datatype == 'rating' %} 0 %} value="{{ '%d' % (book['custom_column_' ~ c.id][0].value / 2) }}" {% endif %}> {% endif %}
{% endfor %} {% endif %}
{{_('Back')}}
{% endif %} {% endblock %} {% block js %} {% endblock %} {% block header %} {% endblock %}