{% extends "user_groups/base.html" %} {% load user_group_tags %} {% load perm_tags %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Delete a User Group" %}

{% trans 'Group' %}: {{ group.label }} ({{ group.members.count }} member{{group.members.count|pluralize }})

{% if perms_lacking or protected %} {% if perms_lacking %}

{% blocktrans %}Deleting the group {{ object_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}

{% endif %} {% if protected %}

{% blocktrans %}Deleting the group {{ object_name }} would require deleting the following protected related objects:{% endblocktrans %}

{% endif %} {% else %}

{% blocktrans %}Are you sure you want to delete the group {{ object_name }}? All of the following objects and their related items will be deleted:{% endblocktrans %}

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