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
c53b3800
Commit
c53b3800
authored
Apr 13, 2022
by
Cynthia Ng
Committed by
Illya Klymov
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate checkbox to be GitLab UI component
parent
fc53b78d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
app/views/admin/application_settings/_repository_mirrors_form.html.haml
...n/application_settings/_repository_mirrors_form.html.haml
+3
-7
No files found.
app/views/admin/application_settings/_repository_mirrors_form.html.haml
View file @
c53b3800
=
form_for
@application_setting
,
url:
repository_admin_application_settings_path
(
anchor:
'js-mirror-settings'
)
do
|
f
|
=
gitlab_ui_
form_for
@application_setting
,
url:
repository_admin_application_settings_path
(
anchor:
'js-mirror-settings'
)
do
|
f
|
=
form_errors
(
@application_setting
)
%fieldset
.form-group
=
f
.
label
:mirror_available
,
_
(
'Repository mirroring configuration'
),
class:
'label-bold'
.form-check
=
f
.
check_box
:mirror_available
,
class:
'form-check-input'
=
f
.
label
:mirror_available
,
class:
'form-check-label'
do
=
_
(
'Allow project maintainers to configure repository mirroring'
)
%span
.form-text.text-muted
=
_
(
'If disabled, only administrators can configure repository mirroring.'
)
=
f
.
gitlab_ui_checkbox_component
:mirror_available
,
_
(
'Allow project maintainers to configure repository mirroring'
),
help_text:
_
(
'If disabled, only administrators can configure repository mirroring.'
)
=
render_if_exists
'admin/application_settings/mirror_settings'
,
form:
f
...
...
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