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
923e081b
Commit
923e081b
authored
May 23, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deploy keys form
parent
3905cdfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/views/projects/deploy_keys/_form.html.haml
app/views/projects/deploy_keys/_form.html.haml
+6
-6
No files found.
app/views/projects/deploy_keys/_form.html.haml
View file @
923e081b
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@deploy_keys
.
new_key
],
url:
namespace_project_deploy_keys_path
,
html:
{
class:
"js-requires-input"
}
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@deploy_keys
.
new_key
],
url:
namespace_project_deploy_keys_path
,
html:
{
class:
"js-requires-input
container
"
}
do
|
f
|
=
form_errors
(
@deploy_keys
.
new_key
)
.form-group.row
=
f
.
label
:title
,
class:
"label-light"
...
...
@@ -13,12 +13,12 @@
=
f
.
fields_for
:deploy_keys_projects
do
|
deploy_keys_project_form
|
.form-group.row
.form-check
=
deploy_keys_project_form
.
label
:can_push
do
=
deploy_keys_project_form
.
check_box
:can_push
%strong
Write access allowed
=
deploy_keys_project_form
.
label
:can_push
do
=
deploy_keys_project_form
.
check_box
:can_push
%strong
Write access allowed
.form-group.row
%p
.light.append-bottom-0
Allow this key to push to repository as well? (Default only allows pull access.)
=
f
.
submit
"Add key"
,
class:
"btn-create btn"
.form-group.row
=
f
.
submit
"Add key"
,
class:
"btn-create btn"
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