gitlab-org--gitlab-foss/app/views/projects/deploy_keys/edit.html.haml

10 lines
484 B
Text

- page_title _('Edit Deploy Key')
%h3.page-title= _('Edit Deploy Key')
%hr
%div
= form_for [@project, @deploy_key], include_id: false, 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: 'gl-button btn btn-confirm'
= link_to _('Cancel'), project_settings_repository_path(@project), class: 'gl-button btn btn-default btn-cancel'