fix: all password check views use the new post route
This commit is contained in:
parent
84f301cdb8
commit
0b67eb511b
6 changed files with 38 additions and 6 deletions
|
@ -16,7 +16,12 @@
|
|||
|
||||
.fr-fieldset__element
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field,
|
||||
opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path }, aria: {describedby: 'password_hint'}})
|
||||
opts: { autofocus: 'true',
|
||||
autocomplete: 'new-password',
|
||||
data: { controller: 'turbo-input',
|
||||
turbo_input_url_value: show_password_complexity_path,
|
||||
turbo_input_method_value: 'post' },
|
||||
aria: {describedby: 'password_hint'}})
|
||||
|
||||
#password_complexity
|
||||
= render PasswordComplexityComponent.new
|
||||
|
|
|
@ -18,7 +18,12 @@
|
|||
|
||||
.fr-fieldset__element
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field,
|
||||
opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path }, aria: {describedby: 'password_hint'}})
|
||||
opts: { autofocus: 'true',
|
||||
autocomplete: 'new-password',
|
||||
data: { controller: 'turbo-input',
|
||||
turbo_input_url_value: show_password_complexity_path,
|
||||
turbo_input_method_value: 'post' },
|
||||
aria: {describedby: 'password_hint'}})
|
||||
|
||||
#password_complexity
|
||||
= render PasswordComplexityComponent.new
|
||||
|
|
|
@ -21,7 +21,12 @@
|
|||
|
||||
.fr-fieldset__element
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field,
|
||||
opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path }, aria: {describedby: 'password_hint'}})
|
||||
opts: { autofocus: 'true',
|
||||
autocomplete: 'new-password',
|
||||
data: { controller: 'turbo-input',
|
||||
turbo_input_url_value: show_password_complexity_path,
|
||||
turbo_input_method_value: 'post' },
|
||||
aria: {describedby: 'password_hint'}})
|
||||
|
||||
#password_complexity
|
||||
= render PasswordComplexityComponent.new
|
||||
|
|
|
@ -14,7 +14,13 @@
|
|||
|
||||
.fr-fieldset__element
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field,
|
||||
opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path }, aria: {describedby: 'password_hint'}})
|
||||
opts: { autofocus: 'true',
|
||||
autocomplete: 'new-password',
|
||||
data: { controller: 'turbo-input',
|
||||
turbo_input_url_value: show_password_complexity_path,
|
||||
turbo_input_method_value: 'post',
|
||||
},
|
||||
aria: {describedby: 'password_hint'}})
|
||||
|
||||
#password_complexity
|
||||
= render PasswordComplexityComponent.new
|
||||
|
|
|
@ -18,7 +18,12 @@
|
|||
|
||||
.fr-fieldset__element
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field,
|
||||
opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path }, aria: {describedby: 'password_hint'}})
|
||||
opts: { autofocus: 'true',
|
||||
autocomplete: 'new-password',
|
||||
data: { controller: 'turbo-input',
|
||||
turbo_input_url_value: show_password_complexity_path,
|
||||
turbo_input_method_value: 'post' },
|
||||
aria: {describedby: 'password_hint'}})
|
||||
|
||||
#password_complexity
|
||||
= render PasswordComplexityComponent.new
|
||||
|
|
|
@ -20,7 +20,13 @@
|
|||
|
||||
.fr-fieldset__element
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field,
|
||||
opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path, email_input_target: 'next'}, aria: {describedby: 'password_hint'}})
|
||||
opts: { autofocus: 'true',
|
||||
autocomplete: 'new-password',
|
||||
data: { controller: 'turbo-input',
|
||||
turbo_input_url_value: show_password_complexity_path,
|
||||
turbo_input_method_value: 'post',
|
||||
email_input_target: 'next' },
|
||||
aria: {describedby: 'password_hint'}})
|
||||
|
||||
#password_complexity
|
||||
= render PasswordComplexityComponent.new
|
||||
|
|
Loading…
Reference in a new issue