Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-29 00:10:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-29 00:10:46 +0300
commit0e2a219d6a82935ec564dfb68a1d721d7a24cd6a (patch)
treef3ef106082cd32a6e10d0540f2c1e553257eebf5 /app/views/doorkeeper/authorizations
parent7c5f1bfac791045e54386b9c9bb56ee24afc68ca (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/doorkeeper/authorizations')
-rw-r--r--app/views/doorkeeper/authorizations/new.html.haml8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/doorkeeper/authorizations/new.html.haml b/app/views/doorkeeper/authorizations/new.html.haml
index bc69da5775f..fd5088e04b0 100644
--- a/app/views/doorkeeper/authorizations/new.html.haml
+++ b/app/views/doorkeeper/authorizations/new.html.haml
@@ -38,7 +38,8 @@
= hidden_field_tag :nonce, @pre_auth.nonce
= hidden_field_tag :code_challenge, @pre_auth.code_challenge
= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method
- = submit_tag _("Deny"), class: "btn btn-default gl-button"
+ = render Pajamas::ButtonComponent.new(type: :submit) do
+ = _("Deny")
= form_tag oauth_authorization_path, method: :post, class: 'inline' do
= hidden_field_tag :client_id, @pre_auth.client.uid
= hidden_field_tag :redirect_uri, @pre_auth.redirect_uri
@@ -48,4 +49,7 @@
= hidden_field_tag :nonce, @pre_auth.nonce
= hidden_field_tag :code_challenge, @pre_auth.code_challenge
= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method
- = submit_tag _("Authorize"), class: "btn btn-danger gl-button gl-ml-3", data: { qa_selector: 'authorization_button' }
+ = render Pajamas::ButtonComponent.new(type: :submit,
+ variant: :danger,
+ button_options: { id: 'commit-changes', class: 'gl-ml-3', qa_selector: 'authorization_button'}) do
+ = _("Authorize")