[% USE T8 %][% USE HTML %][% USE L %][% USE LxERP -%] [% L.stylesheet_tag('jquery.multiselect2side') %] [% L.javascript_tag('jquery.selectboxes', 'jquery.multiselect2side') %]
[% IF message %]

[% message %]

[% END %]
[% 'Edit group ' | $T8 %]: [% HTML.escape(name) %]

[% 'Back' | $T8 %]


[%- LxERP.t8('Edit membership') %]

[% L.select_tag('user_ids[]', ALL_USERS, value_key = 'id', title_key = 'login', default = USER_IDS_IN_GROUP, multiple = 1) %]

[% 'Edit rights' | $T8 %]

[% FOREACH right = RIGHTS %] [% IF right.is_section %] [% right.description %]
[% ELSE %]
[% END %] [% END %]

[% LxERP.t8('Rename the group') %]

[% 'Name' | $T8 %]:
[% 'Description' | $T8 %]:

  [% 'Back' | $T8 %]

[% L.multiselect2side('user_ids_', labelsx => LxERP.t8('All users'), labeldx => LxERP.t8('Users in this group')) %]