13 lines
536 B
Ruby
13 lines
536 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Groups::GroupMembersHelper
|
|
def group_member_select_options
|
|
{ multiple: true, class: 'input-clamp qa-member-select-field ', scope: :all, email_user: true }
|
|
end
|
|
|
|
def render_invite_member_for_group(group, default_access_level)
|
|
render 'shared/members/invite_member', submit_url: group_group_members_path(group), access_levels: GroupMember.access_level_roles, default_access_level: default_access_level
|
|
end
|
|
end
|
|
|
|
Groups::GroupMembersHelper.prepend_if_ee('EE::Groups::GroupMembersHelper')
|