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

10 lines
436 B
Text

- page_title _('Edit Deploy Key')
%h3.page-title= _('Edit public deploy key')
%hr
%div
= form_for [:admin, @deploy_key], html: { class: 'deploy-key-form' } do |f|
= render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key }
.form-actions
= f.submit _('Save changes'), class: 'btn gl-button btn-success'
= link_to _('Cancel'), admin_deploy_keys_path, class: 'btn gl-button btn-cancel'