Fix missing button styles on some forms (#33771)
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
			
		||||
    .input-copy
 | 
			
		||||
      .input-copy__wrapper
 | 
			
		||||
        = copyable_input value: public_invite_url(invite_code: invite.code)
 | 
			
		||||
      %button{ type: :button }= t('generic.copy')
 | 
			
		||||
      %button.button{ type: :button }= t('generic.copy')
 | 
			
		||||
 | 
			
		||||
  %td
 | 
			
		||||
    .name-tag
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
    .input-copy
 | 
			
		||||
      .input-copy__wrapper
 | 
			
		||||
        = copyable_input value: public_invite_url(invite_code: invite.code)
 | 
			
		||||
      %button{ type: :button }= t('generic.copy')
 | 
			
		||||
      %button.button{ type: :button }= t('generic.copy')
 | 
			
		||||
 | 
			
		||||
  - if invite.valid_for_use?
 | 
			
		||||
    %td
 | 
			
		||||
 
 | 
			
		||||
@@ -16,4 +16,5 @@
 | 
			
		||||
    = form.hidden_field :type,
 | 
			
		||||
                        value: params[:type]
 | 
			
		||||
    = form.button t('mail_subscriptions.unsubscribe.action'),
 | 
			
		||||
                  type: :submit
 | 
			
		||||
                  type: :submit,
 | 
			
		||||
                  class: 'btn'
 | 
			
		||||
 
 | 
			
		||||
@@ -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'
 | 
			
		||||
 
 | 
			
		||||
@@ -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')
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
  .input-copy.lead
 | 
			
		||||
    .input-copy__wrapper
 | 
			
		||||
      = copyable_input value: link_to('Mastodon', ActivityPub::TagManager.instance.url_for(@account), rel: :me)
 | 
			
		||||
    %button{ type: :button }= t('generic.copy')
 | 
			
		||||
    %button.button{ type: :button }= t('generic.copy')
 | 
			
		||||
 | 
			
		||||
  %p.lead= t('verification.extra_instructions_html')
 | 
			
		||||
 | 
			
		||||
@@ -60,7 +60,7 @@
 | 
			
		||||
  .input-copy.lead
 | 
			
		||||
    .input-copy__wrapper
 | 
			
		||||
      = copyable_input value: tag.meta(name: 'fediverse:creator', content: "@#{@account.local_username_and_domain}")
 | 
			
		||||
    %button{ type: :button }= t('generic.copy')
 | 
			
		||||
    %button.button{ type: :button }= t('generic.copy')
 | 
			
		||||
 | 
			
		||||
  %p.lead= t('author_attribution.then_instructions')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user