More link/button conversion across views (#32199)
This commit is contained in:
parent
1f65a95421
commit
cf859d151b
9 changed files with 17 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
|||
= t('settings.two_factor_authentication')
|
||||
|
||||
- content_for :heading_actions do
|
||||
= link_to t('two_factor_authentication.disable'), disable_settings_two_factor_authentication_methods_path, class: 'button button--destructive', method: :post
|
||||
= button_to t('two_factor_authentication.disable'), disable_settings_two_factor_authentication_methods_path, class: 'button button--destructive'
|
||||
|
||||
%p.hint
|
||||
%span.positive-hint
|
||||
|
@ -38,4 +38,4 @@
|
|||
%hr.spacer/
|
||||
|
||||
.simple_form
|
||||
= link_to t('two_factor_authentication.generate_recovery_codes'), settings_two_factor_authentication_recovery_codes_path, data: { method: :post }, class: 'block-button'
|
||||
= button_to t('two_factor_authentication.generate_recovery_codes'), settings_two_factor_authentication_recovery_codes_path, class: 'block-button'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue