{% extends "base.html" %} {% block sidebar %} {% if perms.auth.is_admin %} {% include "admin/components/sidebar.html" %} {% elif perms.auth.is_alumnus %} {% include "alumni/components/sidebar.html" %} {% elif perms.auth.is_student %} {% include "student/components/sidebar.html" %} {% endif %} {% endblock %} {% block content %} Student List USN NAME CONTACT NUMBER RV EMAIL ID EMAIL ID Branch Year Joined {% if perms.auth.is_admin %} Edit Delete {% endif %} {% for item in students%} {{item.usn}} {{item.name}} {{item.phone}} {{item.rv_email}} {{item.email}} {{item.branch}} {{item.year_joined}} {% if perms.auth.is_admin %} {% csrf_token %} {% csrf_token %} {% endif %} {% endfor %} {% endblock %}