2018-05-20 00:10:01 +02:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block main %}
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<h1 class="header">{{ book.title }}</h1>
|
|
|
|
|
2018-05-23 14:12:24 +02:00
|
|
|
<img src="../uploads/cover/{{ book.cover }}" width="200">
|
|
|
|
|
2018-05-23 17:53:30 +02:00
|
|
|
<p>Author(s): {% for author in book.authors %}
|
2018-05-23 14:12:24 +02:00
|
|
|
|
|
|
|
<li> {{ author.author_name }}</li>
|
|
|
|
|
|
|
|
{% endfor %}</p>
|
|
|
|
|
|
|
|
<a href="../uploads/{{ book.file }}">download {{ book.fileformat }}</a>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<a href="{{ url_for('edit_book_by_id', id=book.id )}}">edit</a>
|
2018-05-20 00:10:01 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|