{% extends 'core/base.html' %} {% block title %}Delete Role | Killian{% endblock %} {% block content %}

Delete Role

Delete the custom role {{ role.name }}.

Back
{% if assigned_count %}
Role is still assigned {{ assigned_count }} user{{ assigned_count|pluralize }} currently use this role. Reassign each user to another role before deletion is allowed.

Assigned Users

Reassign these accounts first.
{% for item in assigned_users %}
{{ item.username }} Change role
{% endfor %}
{% else %}
Permanent deletion Deleting this role also deletes its linked Django Group. No users are currently assigned to it. This action cannot be undone.
{% csrf_token %} Cancel
{% endif %} {% endblock %}