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
da80dd44
Commit
da80dd44
authored
Nov 20, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Geo - Move the primary node checkbox below the URL
parent
8603c426
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
app/views/admin/geo_nodes/_form.html.haml
app/views/admin/geo_nodes/_form.html.haml
+5
-4
No files found.
app/views/admin/geo_nodes/_form.html.haml
View file @
da80dd44
-
disable_key_edit
=
local_assigns
.
fetch
(
:disable_key_edit
,
false
)
=
form_errors
(
geo_node
)
.form-group
=
form
.
label
:url
,
'URL'
,
class:
'control-label'
.col-sm-10
=
form
.
text_field
:url
,
class:
'form-control'
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
=
form
.
label
:primary
do
=
form
.
check_box
:primary
%strong
This is a primary node
.form-group
=
form
.
label
:url
,
'URL'
,
class:
'control-label'
.col-sm-10
=
form
.
text_field
:url
,
class:
'form-control'
.form-group.js-hide-if-geo-primary
{
class:
(
'hidden'
unless
geo_node
.
secondary?
)
}
=
form
.
label
:clone_protocol
,
s_
(
'Geo|Repository cloning'
),
class:
'control-label'
...
...
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