Add trailing new line to settings partials

This commit is contained in:
Dominik Kwiatek 2020-10-21 13:59:13 +02:00
parent 68b1bbb908
commit d89d7a0e7f
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
%p Your account is set up to require the use of a one-time password in order to log in
= link_to t('views.actions.remove'), destroy_user_2fa_path, class: 'btn btn-primary', method: 'delete',
data: { confirm: t('views.settings.security.2fa.detach_confirm') }
data: { confirm: t('views.settings.security.2fa.detach_confirm') }

View File

@ -39,4 +39,4 @@
%p Once you have downloaded an authenticator app, add your Retrospring account by scanning the QR code displayed on the left.
= f.text_field :otp_validation, class: 'totp-setup__code-field', label: 'Enter the code displayed in the app here:'
= f.hidden_field :otp_secret_key, value: current_user.otp_secret_key
= f.submit t('views.actions.save'), class: 'btn btn-primary'
= f.submit t('views.actions.save'), class: 'btn btn-primary'