2017-03-31 08:54:38 -04:00
|
|
|
- page_title 'Edit Deploy Key'
|
|
|
|
%h3.page-title Edit Deploy Key
|
|
|
|
%hr
|
|
|
|
|
|
|
|
%div
|
|
|
|
= form_for [@project.namespace.becomes(Namespace), @project, @deploy_key], html: { class: 'form-horizontal js-requires-input' } do |f|
|
|
|
|
= 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 13:06:35 -04:00
|
|
|
= link_to 'Cancel', project_settings_repository_path(@project), class: 'btn btn-cancel'
|