Fix missing button styles on some forms (#33771)

This commit is contained in:
Eugen Rochko 2025-01-29 11:36:24 +01:00 committed by GitHub
parent 51bbca7723
commit 6aa565b319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 8 deletions

View file

@ -35,7 +35,8 @@
= form.hidden_field :scope,
value: @pre_auth.scope
= form.button t('doorkeeper.authorizations.buttons.authorize'),
type: :submit
type: :submit,
class: 'btn'
= form_with url: oauth_authorization_path, method: :delete do |form|
= form.hidden_field :client_id,
@ -52,4 +53,4 @@
value: @pre_auth.scope
= form.button t('doorkeeper.authorizations.buttons.deny'),
type: :submit,
class: 'negative'
class: 'btn negative'

View file

@ -4,4 +4,4 @@
.input-copy
.input-copy__wrapper
= copyable_input value: params[:code], class: 'oauth-code'
%button{ type: :button }= t('generic.copy')
%button.button{ type: :button }= t('generic.copy')