{% extends 'base_generic.html' %} {% block style %} .product-title, .product-description, .price, .vote, .sizes { margin-bottom: 15px; } {% endblock %} {% block content %}

Name: {{ student.name }}

Id:{{ student.roll_no }}

Contact: {{ student.contact_no }}

Branch: {{ student.branch }}

{% if user.is_superuser %}

Books due: {{ student.total_books_due }}

DELETE Update {% endif %}



{% if user.is_superuser %} {% if books %}
{% for book in books %}
Sample Title

{{ book.book.title }} ({{ book.book.author }})

Return
{% endfor %}
{% else %}

There are no books borrowed.

{% endif %} {% endif %} {% endblock %}