Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2b6b6ee2
Commit
2b6b6ee2
authored
Sep 27, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds row class as parent to col-* classes to match boostrap documentation
Matches for attribute in labels for radio buttons
parent
5a8eddc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
app/views/ldap_group_links/_form.html.haml
app/views/ldap_group_links/_form.html.haml
+14
-17
No files found.
app/views/ldap_group_links/_form.html.haml
View file @
2b6b6ee2
...
@@ -3,30 +3,27 @@
...
@@ -3,30 +3,27 @@
%section
.ldap-group-links
%section
.ldap-group-links
=
form_for
[
group
,
LdapGroupLink
.
new
],
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
form_for
[
group
,
LdapGroupLink
.
new
],
html:
{
class:
'form-horizontal'
}
do
|
f
|
.form-holder
.form-holder
.form-group.
clearfix
.form-group.
row
=
f
.
label
:cn
,
class:
'control-label'
do
=
f
.
label
:cn
,
class:
'control-label
col-sm-2
'
do
LDAP Server
LDAP Server
.col-sm-10
.col-sm-10
=
f
.
select
:provider
,
ldap_server_select_options
,
{},
class:
'form-control'
=
f
.
select
:provider
,
ldap_server_select_options
,
{},
class:
'form-control'
.form-group.
clearfix
.form-group.
row
=
f
.
label
:cn
,
class:
'control-label'
do
=
f
.
label
:cn
,
class:
'control-label
col-sm-2
'
do
Sync method
Sync method
.col-sm-2
.col-sm-10
.col-sm-10
.radio
.radio
=
label_tag
:
ldap
_group
do
=
label_tag
:
sync_method
_group
do
=
radio_button_tag
:sync_method
,
:group
,
true
=
radio_button_tag
:sync_method
,
:group
,
true
.option-title
LDAP Group cn
LDAP Group cn
.radio
.radio
=
label_tag
:
ldap
_filter
do
=
label_tag
:
sync_method
_filter
do
=
radio_button_tag
:sync_method
,
:filter
=
radio_button_tag
:sync_method
,
:filter
.option-title
LDAP user filter
LDAP user filter
.form-group.
clearfix
.cn-link
.form-group.
row
.cn-link
=
f
.
label
:cn
,
class:
'control-label'
do
=
f
.
label
:cn
,
class:
'control-label
col-sm-2
'
do
LDAP Group cn
LDAP Group cn
.col-sm-10
.col-sm-10
=
f
.
hidden_field
:cn
,
placeholder:
'Ex. QA group'
,
class:
'xxlarge ajax-ldap-groups-select input-mn-300'
=
f
.
hidden_field
:cn
,
placeholder:
'Ex. QA group'
,
class:
'xxlarge ajax-ldap-groups-select input-mn-300'
...
@@ -35,8 +32,8 @@
...
@@ -35,8 +32,8 @@
%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
}
.
.form-group.
clearfix
.filter-link
.form-group.
row
.filter-link
=
f
.
label
:filter
,
class:
'control-label'
do
=
f
.
label
:filter
,
class:
'control-label
col-sm-2
'
do
LDAP User filter
LDAP User filter
.col-sm-10
.col-sm-10
=
f
.
text_field
:filter
,
placeholder:
'Ex. (&(objectCategory=person)(objectClass=developer))'
,
class:
'form-control xxlarge input-mn-300'
=
f
.
text_field
:filter
,
placeholder:
'Ex. (&(objectCategory=person)(objectClass=developer))'
,
class:
'form-control xxlarge input-mn-300'
...
@@ -46,8 +43,8 @@
...
@@ -46,8 +43,8 @@
%br
%br
If you do not belong to this LDAP user filter you will lose ownership of
#{
group
.
name
}
.
If you do not belong to this LDAP user filter you will lose ownership of
#{
group
.
name
}
.
.form-group.
clearfix
.form-group.
row
=
f
.
label
:group_access
,
class:
'control-label'
do
=
f
.
label
:group_access
,
class:
'control-label
col-sm-2
'
do
LDAP Access
LDAP Access
.col-sm-10
.col-sm-10
=
f
.
select
:group_access
,
options_for_select
(
GroupMember
.
access_level_roles
),
{},
class:
'form-control'
=
f
.
select
:group_access
,
options_for_select
(
GroupMember
.
access_level_roles
),
{},
class:
'form-control'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment