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
d4a7036b
Commit
d4a7036b
authored
Mar 21, 2014
by
Job van der Voort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless nested form from admin group edit form
parent
123d7dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
app/views/admin/groups/edit.html.haml
app/views/admin/groups/edit.html.haml
+21
-22
No files found.
app/views/admin/groups/edit.html.haml
View file @
d4a7036b
...
@@ -30,27 +30,26 @@
...
@@ -30,27 +30,26 @@
%fieldset
%fieldset
%legend
LDAP group settings
%legend
LDAP group settings
%div
.form-holder
%div
.form-holder
=
form_for
@group
do
|
f
|
.form-group.clearfix
.form-group.clearfix
=
f
.
label
:ldap_cn
,
class:
'control-label'
do
=
f
.
label
:ldap_cn
,
class:
'control-label'
do
LDAP Group cn
LDAP Group cn
.col-sm-10
.col-sm-10
=
f
.
hidden_field
:ldap_cn
,
placeholder:
"Ex. QA group"
,
class:
"xxlarge ajax-ldap-groups-select input-mn-300"
=
f
.
hidden_field
:ldap_cn
,
placeholder:
"Ex. QA group"
,
class:
"xxlarge ajax-ldap-groups-select input-mn-300"
.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
}
.
.form-group.clearfix
.form-group.clearfix
=
f
.
label
:ldap_access
,
class:
'control-label'
do
=
f
.
label
:ldap_access
,
class:
'control-label'
do
LDAP Access
LDAP Access
.col-sm-10
.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
}
.
%br
%br
You can manage permission levels for individual group members in the Members tab.
You can manage permission levels for individual group members in the Members tab.
.form-actions
.form-actions
=
f
.
submit
'Save changes'
,
class:
"btn btn-primary"
=
f
.
submit
'Save changes'
,
class:
"btn btn-primary"
=
link_to
'Cancel'
,
admin_groups_path
,
class:
"btn btn-cancel"
=
link_to
'Cancel'
,
admin_groups_path
,
class:
"btn btn-cancel"
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