Настройки отдела
{% include "employees/_department_controls.html" with dept=dept edit_form=edit_form head_choices=head_choices %}
{# ===== ПРАВАЯ КОЛОНКА: настройки + лента ===== #} {% if user.is_staff or user.is_superuser or can_manage or dept.head.id == user.id %}