{% if not raw %} {% if book.format %} {% endif %} {% if book.language %} {% endif %} {% if book.description %} {% endif %} {% if book.authors %} {% for author in book.authors %} {% endfor %} {% endif %} {% if book.identifiers %} {% for identifier in book.identifiers %} {% endfor %} {% endif %} {% if book.series %} {% for serie in book.series %} {% endfor %} {% endif %}
Title {{book.title}}
Format {{book.format}} {{book.formats|json_encode}}
Language {{book.language}}
Description {{book.description}}
Authors {{book.authors|length}}
Author {{author.id}} {{ include('models/author.html', {author: author, endpoint: endpoint, dbNum: dbNum}, with_context = false) }}
Identifiers {{book.identifiers|length}}
Identifier {{identifier.id}} {{ include('models/identifier.html', {identifier: identifier, endpoint: endpoint, dbNum: dbNum}, with_context = false) }}
Series {{book.series|length}}
Series {{serie.id}} {{ include('models/serie.html', {serie: serie, endpoint: endpoint, dbNum: dbNum}, with_context = false) }}
{% else %}
{{book|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES') b-or constant('JSON_UNESCAPED_UNICODE'))}}
{% endif %}