{# Group members addition page. Lets users who can manage all groups add users to a group, without asking them. :param form: The form that adds members to the group. :type form: :class:`~canaille.core.endpoints.forms.AddGroupMembersForm` :param group: The group to add members to. :type group: :class:`~canaille.core.models.Group` #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {%- block title -%} {%- trans group_name=group.display_name %}Add members to {{ group_name }}{% endtrans -%} {%- endblock -%} {% block submenu %} {% trans %}Groups{% endtrans %} {% trans %}View Group{% endtrans %} {% trans %}Add Members{% endtrans %} {% endblock %} {% block content %}

{% trans group_name=group.display_name %}Add members to {{ group_name }}{% endtrans %}

{% trans %} The users are added to the group right away. To ask them first, invite them instead. {% endtrans %}
{% call fui.render_form(form) %} {% block new_members_field scoped %} {{ form.new_members() }} {% endblock %}
{{ _("Cancel") }} {% call fui.render_button(form.action, "add-members", class_="ui right floated primary button") %} {% trans %}Add{% endtrans %} {% endcall %}
{% endcall %}
{% endblock %}