diff options
Diffstat (limited to 'app/views/projects/deploy_keys/edit.html.haml')
-rw-r--r-- | app/views/projects/deploy_keys/edit.html.haml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/projects/deploy_keys/edit.html.haml b/app/views/projects/deploy_keys/edit.html.haml index 997443d5fa9..0044ff4dc24 100644 --- a/app/views/projects/deploy_keys/edit.html.haml +++ b/app/views/projects/deploy_keys/edit.html.haml @@ -1,10 +1,8 @@ - page_title _('Edit Deploy Key') %h1.page-title.gl-font-size-h-display= _('Edit Deploy Key') -%hr -%div - = gitlab_ui_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'), pajamas_button: true - = link_button_to _('Cancel'), project_settings_repository_path(@project) += gitlab_ui_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 } + .gl-display-flex.gl-mt-6.gl-gap-3 + = f.submit _('Save changes'), pajamas_button: true + = link_button_to _('Cancel'), project_settings_repository_path(@project, anchor: 'js-deploy-keys-settings') |