2017-03-31 12:54:38 +00:00
|
|
|
- page_title 'Edit Deploy Key'
|
|
|
|
%h3.page-title Edit Deploy Key
|
|
|
|
%hr
|
|
|
|
|
|
|
|
%div
|
2018-04-12 20:11:22 +00:00
|
|
|
= form_for [@project.namespace.becomes(Namespace), @project, @deploy_key], html: { class: 'js-requires-input' } do |f|
|
2017-03-31 12:54:38 +00:00
|
|
|
= render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key }
|
|
|
|
.form-actions
|
|
|
|
= f.submit 'Save changes', class: 'btn-save btn'
|
2017-06-29 17:06:35 +00:00
|
|
|
= link_to 'Cancel', project_settings_repository_path(@project), class: 'btn btn-cancel'
|