{% import "bootstrap/utils.html" as utils %} {% extends "base.html" %} {% block title %}Departments{% endblock %} {% block body %}

{{ utils.flashed_messages() }}

Departments

{% if departments %}
{% for department in departments %} {% endfor %}
Name Description Employee Count Edit Delete
{{ department.name }} {{ department.description }} {% if department.employees %} {{ department.employees.count() }} {% else %} 0 {% endif %} Edit Delete
{% else %}

No departments have been added.


{% endif %} Add Department
{% endblock %}