{% extends 'base.html' %} {% load static %} {% block content %}
No image available
{% endif %}By: {{ book.author }}
Category: {{ book.category }}
{{ book.description }}
Price: Ksh. {{ book.price }}
{% if book.quantity > 0 %}✔ In Stock ({{ book.quantity }} available)
{% else %}✖ Out of Stock
{% endif %} {% if user.is_authenticated %}