2016-11-03 12:29:30 +05:30
|
|
|
= form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f|
|
|
|
|
.row
|
|
|
|
.col-md-4.col-lg-6
|
2019-09-04 21:01:54 +05:30
|
|
|
= users_select_tag(:user_ids, group_member_select_options)
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted.append-bottom-10
|
2017-08-17 22:00:37 +05:30
|
|
|
Search for members by name, username, or email, or invite new ones using their email address.
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.col-md-3.col-lg-2
|
|
|
|
= select_tag :access_level, options_for_select(GroupMember.access_level_roles, @group_member.access_level), class: "form-control project-access-select"
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted.append-bottom-10
|
2019-02-15 15:39:39 +05:30
|
|
|
= link_to "Read more", help_page_path("user/permissions")
|
2016-11-03 12:29:30 +05:30
|
|
|
about role permissions
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.col-md-3.col-lg-2
|
2016-09-13 17:45:13 +05:30
|
|
|
.clearable-input
|
2016-11-03 12:29:30 +05:30
|
|
|
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
|
2016-09-13 17:45:13 +05:30
|
|
|
%i.clear-icon.js-clear-input
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted.append-bottom-10
|
2017-08-17 22:00:37 +05:30
|
|
|
On this date, the member(s) will automatically lose access to this group and all of its projects.
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.col-md-2
|
2018-12-05 23:21:45 +05:30
|
|
|
= f.submit 'Add to group', class: "btn btn-success btn-block"
|