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