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
9bbfc5e4
Commit
9bbfc5e4
authored
Jul 23, 2021
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate allow request access checkbox to gitlab_ui_checkbox_component
parent
26720aaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/admin/groups/_form.html.haml
app/views/admin/groups/_form.html.haml
+1
-1
app/views/shared/_allow_request_access.html.haml
app/views/shared/_allow_request_access.html.haml
+4
-4
No files found.
app/views/admin/groups/_form.html.haml
View file @
9bbfc5e4
=
form_for
[
:admin
,
@group
]
do
|
f
|
=
gitlab_ui_
form_for
[
:admin
,
@group
]
do
|
f
|
=
form_errors
(
@group
)
=
render
'shared/group_form'
,
f:
f
=
render
'shared/group_form_description'
,
f:
f
...
...
app/views/shared/_allow_request_access.html.haml
View file @
9bbfc5e4
-
label_class
=
local_assigns
.
fetch
(
:bold_label
,
false
)
?
'font-weight-bold'
:
''
.gl-form-checkbox.custom-control.custom-checkbox
=
form
.
check_box
:request_access_enabled
,
class:
'custom-control-input'
,
data:
{
qa_selector:
'request_access_checkbox'
}
=
form
.
label
:request_access_enabled
,
class:
'custom-control-label'
do
%span
{
class:
label_class
}=
_
(
'Allow users to request access (if visibility is public or internal)'
)
=
form
.
gitlab_ui_checkbox_component
:request_access_enabled
,
_
(
'Allow users to request access (if visibility is public or internal)'
),
label_options:
{
class:
label_class
},
checkbox_options:
{
data:
{
qa_selector:
'request_access_checkbox'
}
}
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