From 57a794d8ebf960339a75ae0af9051b722d8fd67a Mon Sep 17 00:00:00 2001 From: Lynx Kotoura Date: Sat, 29 Jul 2017 21:20:31 +0900 Subject: Fix autocomplete option in haml files (#4438) * Fix autocomplete in two_factor.html.haml * Fix autocomplete in registrations edit.html.haml * Fix autocomplete in passwords edit.html.haml * Fix autocomplete in _registration.html.haml * Fix autocomplete in new.html.haml * Fix autocomplete in show.html.haml * Add autocomplete option to sessions new.html.haml * Add autocomplete option to 2FA new.html.haml * Add autocomplete option to 2FA show.html.haml --- app/views/settings/deletes/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/settings/deletes') diff --git a/app/views/settings/deletes/show.html.haml b/app/views/settings/deletes/show.html.haml index d49a7bd0c..b246f83a1 100644 --- a/app/views/settings/deletes/show.html.haml +++ b/app/views/settings/deletes/show.html.haml @@ -10,7 +10,7 @@ %p.hint= t('deletes.description_html') - = f.input :password, autocomplete: 'off', placeholder: t('simple_form.labels.defaults.current_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password') }, hint: t('deletes.confirm_password') + = f.input :password, placeholder: t('simple_form.labels.defaults.current_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password'), :autocomplete => 'off' }, hint: t('deletes.confirm_password') .actions = f.button :button, t('deletes.proceed'), type: :submit, class: 'negative' -- cgit