{% extends "base.html" %} {% block title %}Delete {{ role.name }} — Fossilrepo{% endblock %} {% block content %}
← Back to {{ role.name }}

Delete Role

{% if active_members.exists %}

This role has {{ active_members.count }} active member{{ active_members.count|pluralize }}. You must reassign them to another role before deleting.

    {% for membership in active_members %}
  • {{ membership.member.username }}
  • {% endfor %}
{% else %}

Are you sure you want to delete {{ role.name }}? This action uses soft delete -- the record will be marked as deleted but can be recovered.

{% csrf_token %} Cancel
{% endif %}
{% endblock %}