haml-lint fixes

This commit is contained in:
Dominik Kwiatek 2020-10-19 15:02:04 +02:00
parent 70b8053d15
commit dc88ac3f06
1 changed files with 5 additions and 5 deletions

View File

@ -20,21 +20,21 @@
Aegis Authenticator for Android
%ul.list-inline
%li.list-inline-item
%a{href: "https://play.google.com/store/apps/details?id=com.beemdevelopment.aegis"} Google Play
%a{ href: 'https://play.google.com/store/apps/details?id=com.beemdevelopment.aegis' } Google Play
%li.list-inline-item
%a{href: "https://f-droid.org/app/com.beemdevelopment.aegis"} F-Droid
%a{ href: 'https://f-droid.org/app/com.beemdevelopment.aegis' } F-Droid
%li.list-inline-item
%a{href: "https://github.com/beemdevelopment/Aegis"} Source Code
%a{ href: 'https://github.com/beemdevelopment/Aegis' } Source Code
%li
%i.fa.fa-apple
Strongbox Authenticator for iOS
%ul.list-inline
%li.list-inline-item
%a{href: "https://apps.apple.com/gb/app/strongbox-authenticator/id1023839880"} App Store
%a{ href: 'https://apps.apple.com/gb/app/strongbox-authenticator/id1023839880' } App Store
%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'
- else
%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: "Are you sure you want to disable two-factor authentication?" }
= link_to t('views.actions.remove'), destroy_user_2fa_path, class: 'btn btn-primary', method: 'delete', data: { confirm: 'Are you sure you want to disable two-factor authentication?' }