blob: 3d73b255a5ed23372f4b7f90e0628e888821f4de (
plain)
1
2
3
4
5
6
7
8
9
|
- page_title _('New Deploy Key')
%h1.page-title.gl-font-size-h-display= _('New public deploy key')
= gitlab_ui_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 }
.gl-display-flex.gl-mt-6.gl-gap-3
= f.submit 'Create', data: { qa_selector: "add_deploy_key_button" }, pajamas_button: true
= render Pajamas::ButtonComponent.new(href: admin_deploy_keys_path) do
= _('Cancel')
|