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.
21 lines
396 B
HTML
21 lines
396 B
HTML
7 years ago
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block main %}
|
||
|
<div class="container">
|
||
|
|
||
|
<h1 class="header">{{ author.author_name }}</h1>
|
||
|
|
||
|
|
||
|
<p>Book(s): {% for book in author.books %}
|
||
|
|
||
|
<li> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{ book.title }}</a> </li>
|
||
|
|
||
|
{% endfor %}</p>
|
||
|
|
||
|
<br>
|
||
|
<br>
|
||
|
<a href="{{ url_for('edit_author_by_id', id=author.id )}}">edit</a>
|
||
|
|
||
|
</div>
|
||
|
{% endblock %}
|