Commit 4128f995 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve UI for Group ldap settings page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 60797589
......@@ -75,14 +75,20 @@
LDAP Group cn
.controls
= f.hidden_field :ldap_cn, placeholder: "Ex. QA group", class: "xxlarge ajax-ldap-groups-select"
Synchronize #{@group.name}'s members with this LDAP group. If you select an LDAP group you do not belong to you will loose ownership of #{@group.name}.
.help-block
Synchronize #{@group.name}'s members with this LDAP group.
%br
If you select an LDAP group you do not belong to you will loose ownership of #{@group.name}.
.control-group
= f.label :ldap_access do
LDAP Access
.controls
= f.select :ldap_access, options_for_select(UsersGroup.group_access_roles, @group.ldap_access)
Default, minimum permission level for new LDAP group members who gain access to #{@group.name}. You can manage permission levels for individual group members in the Members tab.
.help-block
Default, minimum permission level for new LDAP group members who gain access to #{@group.name}.
%br
You can manage permission levels for individual group members in the Members tab.
.form-actions
= f.submit 'Save group', class: "btn btn-save"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment