diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2022-11-17 05:05:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 11:05:39 +0100 |
commit | 4f15fd0ba1e992aa6cbe95573372c625a2f4cf71 (patch) | |
tree | 551e8a90cd97fc4ba62ab25fa9f676df57efba06 /app/views/settings/two_factor_authentication | |
parent | c373148b3d43056c242fbb891510f1f841ca2f45 (diff) |
Fix style for hashes (#20518)
* Fix style for hashes Make the style for hashes consistent. * New style More consistency
Diffstat (limited to 'app/views/settings/two_factor_authentication')
-rw-r--r-- | app/views/settings/two_factor_authentication/confirmations/new.html.haml | 2 | ||||
-rw-r--r-- | app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/two_factor_authentication/confirmations/new.html.haml b/app/views/settings/two_factor_authentication/confirmations/new.html.haml index 671237db5..43830ac27 100644 --- a/app/views/settings/two_factor_authentication/confirmations/new.html.haml +++ b/app/views/settings/two_factor_authentication/confirmations/new.html.haml @@ -12,7 +12,7 @@ %samp.qr-alternative__code= @new_otp_secret.scan(/.{4}/).join(' ') .fields-group - = f.input :otp_attempt, wrapper: :with_label, hint: t('otp_authentication.code_hint'), label: t('simple_form.labels.defaults.otp_attempt'), input_html: { :autocomplete => 'off' }, required: true + = f.input :otp_attempt, wrapper: :with_label, hint: t('otp_authentication.code_hint'), label: t('simple_form.labels.defaults.otp_attempt'), input_html: { autocomplete: 'off' }, required: true .actions = f.button :button, t('otp_authentication.enable'), type: :submit diff --git a/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml b/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml index 1148d5ed7..5e9d22571 100644 --- a/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml +++ b/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml @@ -8,7 +8,7 @@ %p.hint= t('webauthn_credentials.description_html') .fields_group - = f.input :nickname, wrapper: :with_block_label, hint: t('webauthn_credentials.nickname_hint'), input_html: { :autocomplete => 'off' }, required: true + = f.input :nickname, wrapper: :with_block_label, hint: t('webauthn_credentials.nickname_hint'), input_html: { autocomplete: 'off' }, required: true .actions = f.button :button, t('webauthn_credentials.add'), class: 'js-webauthn', type: :submit |