{% extends "useradmin/base.html" %} {% load crispy_forms_tags %} {% block base_header_additional_head %} {{ block.super }} {% endblock %} {% block content %} Back to group list
{% if group %} Delete group

Editing group "{{ group.name }}"

{% else %}

Create new group

{% endif %}
{# Forms start here #}
{# GROUP FORM #}
{% if group_form %} {% crispy group_form %} {% endif %}
{% if group %} {% comment %} START GROUP MEMBERS {% endcomment %}
Group members {% if group.accounts.all %}
{% for account in group.accounts.all %} {% endfor %}
{{ account }} {% if not group.is_protected_group %} Remove {% endif %}
{% else %}

Group does not have any members.

{% endif %}
Add group member
{% crispy account_form %}
{# END GROUP MEMBERS #} {% comment %} START GROUP PRIVILEGES {% endcomment %}
Group privileges {% if group.privilege_set.all %}
{% for privilege in group.privilege_set.all %} {% endfor %}
Type Target  
{{ privilege.type }} {{ privilege.target }} Revoke
{% else %}

Group has no privileges set.

{% endif %} {% if privilege_form %}
Grant privileges
See this HOWTO on the Regular expressions used for matching targets for privileges like 'web_access'."
{% crispy privilege_form %} {% endif %}
{# END GROUP PRIVILEGES #} {% endif %} {# if group #}
{# end row #}
{# end panel #} {% endblock %}