debian-mirror-gitlab/app/views/admin/deploy_keys/new.html.haml
2022-07-23 20:15:48 +02:00

10 lines
508 B
Text

- page_title _('New Deploy Key')
%h1.page-title.gl-font-size-h-display= _('New 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 'Create', class: 'btn gl-button btn-confirm', data: { qa_selector: "add_deploy_key_button" }
= link_to _('Cancel'), admin_deploy_keys_path, class: 'btn gl-button btn-default btn-cancel'