{% extends "bootstrap/base.html" %}
{% import "bootstrap/fixes.html" as fixes %}
{% block title %}
Libreant | {{ book['title'] if 'title' in book else bookid }}
{% endblock %}
{% block navbar %}
{% import 'navbar.html' as navbar %}
{{navbar.navbar()}}
{% endblock %}
{% block content %}
{% if '_files' in book %}
{% for file in book['_files'] %}
{{ file['name'] }}
{{ file['size'] | filesizeformat() }}
{% endfor %}
{% endif %}
{%trans%}Details{%endtrans%}
{%trans%}Field{%endtrans%} |
{%trans%}Value{%endtrans%} |
{% for key in book %}
{% if not key.startswith('_') %}
{{ key }} |
{{ book[key] }} |
{% endif %}
{% endfor %}
{% if similar %}
{%trans%}Similar books{%endtrans%}
{% endif %}
{% endblock content %}