{% extends "base.html" %} {% block content %}

{{ book.title }}

Author: {% for author in book.author.all %} {{ author }}{% if not forloop.last %}, {% endif %}{% endfor %}

{{ book.description }}

ISBN: {{ book.isbn }}

Category: {% for category in book.category.all %} {{ category }}{% if not forloop.last %}, {% endif %}{% endfor %}

Total quantity: {{ book.total_quantity }}

{% csrf_token %}
Input quantity in numbers.
Cancel
{% endblock %}