Commit 427a9e16 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

EE ui fixes after twbs3

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 1f359ece
...@@ -67,20 +67,20 @@ ...@@ -67,20 +67,20 @@
.title LDAP group settings .title LDAP group settings
%div.form-holder %div.form-holder
= form_for @group do |f| = form_for @group do |f|
.control-group .form-group.clearfix
= f.label :ldap_cn do = f.label :ldap_cn, class: 'control-label' do
LDAP Group cn LDAP Group cn
.controls .col-sm-10
= f.hidden_field :ldap_cn, placeholder: "Ex. QA group", class: "xxlarge ajax-ldap-groups-select" = f.hidden_field :ldap_cn, placeholder: "Ex. QA group", class: "xxlarge ajax-ldap-groups-select"
.help-block .help-block
Synchronize #{@group.name}'s members with this LDAP group. Synchronize #{@group.name}'s members with this LDAP group.
%br %br
If you select an LDAP group you do not belong to you will lose ownership of #{@group.name}. If you select an LDAP group you do not belong to you will lose ownership of #{@group.name}.
.control-group .form-group.clearfix
= f.label :ldap_access do = f.label :ldap_access, class: 'control-label' do
LDAP Access LDAP Access
.controls .col-sm-10
= f.select :ldap_access, options_for_select(UsersGroup.group_access_roles, @group.ldap_access) = f.select :ldap_access, options_for_select(UsersGroup.group_access_roles, @group.ldap_access)
.help-block .help-block
Default, minimum permission level for LDAP group members of #{@group.name}. Default, minimum permission level for LDAP group members of #{@group.name}.
......
...@@ -25,13 +25,15 @@ ...@@ -25,13 +25,15 @@
%h4 %h4
Can be shared with Can be shared with
%div %div
= form_tag project_group_links_path(@project), method: :post do = form_tag project_group_links_path(@project), method: :post, class: 'form-horizontal' do
.control-group .form-group
= label_tag :group_id, 'Group' = label_tag :group_id, 'Group', class: 'control-label'
.controls= select_tag :group_id, options_from_collection_for_select(@available_groups, :id, :name), class: 'chosen' .col-sm-10
.control-group = select_tag :group_id, options_from_collection_for_select(@available_groups, :id, :name), class: 'select2'
= label_tag :group_access, 'Max access level' .form-group
.controls= select_tag :group_access, options_for_select(ProjectGroupLink.access_options, ProjectGroupLink.default_access), class: "span2" = label_tag :group_access, 'Max access level', class: 'control-label'
.col-sm-10
= select_tag :group_access, options_for_select(ProjectGroupLink.access_options, ProjectGroupLink.default_access), class: "form-control"
.form-actions .form-actions
= submit_tag "Share", class: "btn btn-create" = submit_tag "Share", class: "btn btn-create"
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