{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} Departments {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% if request.user.user_type == 'Mother_Organization_admin' %}

Department

{% csrf_token %}
{{form.sister_organization|as_crispy_field }}
{{form.branch|as_crispy_field }}
{% endif %} {% if department_list %}

Department

{% for department in department_list %} {% endfor %}
SL No Mother Organization Sister Organization Branch Department Action
{{forloop.counter}} {{ department.mother_organization }} {{ department.sister_organization }} {{ department.branch.name_en }} {{ department.name_en }}
{% if department_list.has_other_pages %} {% endif %}
{% else %}
SL No Mother Organization Sister Organization Branch Department Action
No Data Found
{% endif %}
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}