diff options
Diffstat (limited to 'app/views/admin/deploy_keys/new.html.haml')
-rw-r--r-- | app/views/admin/deploy_keys/new.html.haml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/app/views/admin/deploy_keys/new.html.haml b/app/views/admin/deploy_keys/new.html.haml index a03d6cb5a94..3d73b255a5e 100644 --- a/app/views/admin/deploy_keys/new.html.haml +++ b/app/views/admin/deploy_keys/new.html.haml @@ -1,11 +1,9 @@ - page_title _('New Deploy Key') %h1.page-title.gl-font-size-h-display= _('New public deploy key') -%hr -%div - = 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 } - .form-actions - = f.submit 'Create', data: { qa_selector: "add_deploy_key_button" }, pajamas_button: true - = render Pajamas::ButtonComponent.new(href: admin_deploy_keys_path) do - = _('Cancel') += 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') |