{% extends "base.html" %} {% block content %}
{% if context %}# | Book Title | Author | Available Quantity |
---|---|---|---|
{{ forloop.counter0|add:context.start_index }} | {{ book.title }} | {% for author in book.author.all %} {{ author }}{% if not forloop.last %}, {% endif %}{% endfor %} | {{ book.quantity }} |
No such record found!
{% endif %}