{% extends "books/book_list.html" %} {% block meta-title %}Add authors to a book{% endblock %} {% block nav-menu-items %} {% with True as books_add_authors_to_book_is_active %} {% include "snippets/menu_items.html" %} {% endwith %} {% endblock nav-menu-items %} {% block main-content %}

Books

{% for book in object_list %} {% endfor %}
Book Authors Publisher Number of pages Price
{{ book.title }} {% for author in book_authors %}{{ author.name }},{% endfor %} {{ book.publisher.name }} {{ book.pages }} {{ book.price }}
{% endblock %} {% block sidebar-content %}{% endblock sidebar-content %}