You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
471 B
HTML
23 lines
471 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block main %}
|
|
<div class="container">
|
|
|
|
<h1 class="header">{{ book.title }}</h1>
|
|
|
|
<img src="../uploads/cover/{{ book.cover }}" width="200">
|
|
|
|
<p>Author(s): {% for author in book.author %}
|
|
|
|
<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>
|
|
|
|
</div>
|
|
{% endblock %}
|