{% if page_object %} {% for department in page_object %} {% if page_object.start_index %} {{page_object.start_index|add:forloop.counter0}} {% else %} {{forloop.counter}} {% endif %} {{department.name}} {{department.contact_person_name}} {{department.contact_person_email}} {{department.contact_person_phone}} {% if request.user.is_superuser %}
{% else %} {% if department.status %} Active {% else %} Inactive {% endif %} {% endif %}
{% if request.user.is_superuser %} {% endif %} {% if perms.authentication.edit_department %} {% endif %} {% if perms.authentication.delete_department %}
{% csrf_token %}
{% endif %}
{% endfor %} {% else %} No record found related to your search keyword {% endif %}