{% extends "distributed/base_manage.html" %} {% load i18n %} {% block title %}{% trans title %}{% endblock title %} {% block headcss %}{{ block.super }} {% endblock headcss %} {% block content %} {{ block.super }}

{{ title }}

{% csrf_token %} {% for field in form.hidden_fields %} {{ field }} {% endfor %} {% for field in form.visible_fields %}

{{ field.label_tag }} {{ field }} {{ field.errors }} {% if field.id_for_label == "id_group" and request.is_admin %} {# Allow admins to add a new group #} ({% trans "Add a new group" %}) {% else %} {{ field.help_text }} {% endif %}

{% endfor %}
{% endblock content %}