{% extends "base.html" %} {% block content %}

{{ title }}

{{ "Create a new user" if not user else "Edit user details" }}

Back
User Information
Department determines what the user sees on their dashboard
Role determines what actions the user can perform
Department heads can view all tasks and data in their department
Inactive users cannot log in to the system
{% if user and user.department %}
Current Department: {{ user.department.name }} {% if user.department.abbreviation %}({{ user.department.abbreviation }}){% endif %} {% if user.is_department_head %} Department Head {% endif %}
{% endif %}
Cancel
{% if user and user.department %}
Department Information
Department: {{ user.department.name }}
Abbreviation: {{ user.department.abbreviation or 'N/A' }}
Head Status: {% if user.is_department_head %} Yes {% else %} No {% endif %}
{% if user.department.description %}
Description: {{ user.department.description }}
{% endif %}
{% endif %}
{% endblock %}