gitlab-org--gitlab-foss/app/views/projects/deploy_keys/edit.html.haml
2018-04-12 15:11:22 -05:00

10 lines
454 B
Text

- page_title 'Edit Deploy Key'
%h3.page-title Edit Deploy Key
%hr
%div
= form_for [@project.namespace.becomes(Namespace), @project, @deploy_key], html: { class: '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'
= link_to 'Cancel', project_settings_repository_path(@project), class: 'btn btn-cancel'