{# Group edition page. Displays the group edition or creation form. :param edited_group: :data:`None` in a creation context. In edition context this is the edited group. :type edited_group: :class:`~canaille.core.models.Group` :param form: The group edition/creation form. :type form: :class:`~canaille.core.endpoints.forms.CreateGroupForm` or :class:`~canaille.core.endpoints.forms.EditGroupForm` #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {% import "macro/table.html" as table %} {%- block title -%} {% if not edited_group %} {%- trans %}Group creation{% endtrans -%} {% else %} {%- trans %}Group edition{% endtrans -%} {% endif %} {%- endblock -%} {% block submenu %} {% trans %}View{% endtrans %} {% trans %}Add{% endtrans %} {% endblock %} {% block content %}