{% extends "base.html" %} {% block meta-title %}Books{% endblock %} {% block nav-menu-items %} {% with True as books_books_is_active %} {% include "snippets/menu_items.html" %} {% endwith %} {% endblock nav-menu-items %} {% block main-content %}
Book | Authors | Publisher | Number of pages | Price |
---|---|---|---|---|
{{ book.title }} | {% for author in book.authors.all %}{{ author.name }}{% if not forloop.last %}, {% endif %}{% endfor %} | {{ book.publisher.name }} | {{ book.pages }} | {{ book.price }} |