{% extends "layout.html" %} {% block body %}

Department(s)

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% endif %} {% endwith %} {% if departments %}

Add

View

{% for department in departments %} {% endfor %}
Department Name Department Code Number of Employees
{{ department.name }} {{ department.code }} Delete
{% else %} There is no data in department land! {% endif %} {% endblock %}