summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 18:09:28 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 18:09:28 +0000
commit2f7719abdfde4cb50ed05346b98bac26ea06a8de (patch)
tree71bc9a5cde931b50f38f2e2fe76cc67e1181e3d6 /app/views/profiles/keys
parent37140013714814d8ffe662a372697c56eea2fde0 (diff)
downloadgitlab-ce-2f7719abdfde4cb50ed05346b98bac26ea06a8de.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/profiles/keys')
-rw-r--r--app/views/profiles/keys/_form.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/profiles/keys/_form.html.haml b/app/views/profiles/keys/_form.html.haml
index 941b8545745..db13a7f7ba4 100644
--- a/app/views/profiles/keys/_form.html.haml
+++ b/app/views/profiles/keys/_form.html.haml
@@ -23,7 +23,8 @@
%strong= _('Oops, are you sure?')
%p= s_("Profiles|Publicly visible private SSH keys can compromise your system.")
- %button.btn.gl-button.btn-confirm.js-add-ssh-key-validation-confirm-submit= _("Yes, add it")
-
+ = render Pajamas::ButtonComponent.new(variant: :confirm,
+ button_options: { class: 'js-add-ssh-key-validation-confirm-submit' }) do
+ = _("Yes, add it")
.gl-mt-3
= f.submit s_('Profiles|Add key'), class: "gl-button btn btn-confirm js-add-ssh-key-validation-original-submit qa-add-key-button"