0
0
Fork 0

Fix various visual sign-up flow issues (#33206)

This commit is contained in:
Eugen Rochko 2024-12-09 09:23:19 +01:00 committed by GitHub
parent 58c40caeb4
commit ca45f896dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 35 additions and 414 deletions

View file

@ -37,7 +37,7 @@
required: true
= f.input :password_confirmation,
hint: false,
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_password'), autocomplete: 'new-password' },
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_password'), autocomplete: 'new-password', maxlength: User.password_length.last },
placeholder: t('simple_form.labels.defaults.confirm_password'),
required: true
= f.input :confirm_password,
@ -73,7 +73,7 @@
= f.input :agreement,
as: :boolean,
label: t('auth.privacy_policy_agreement_html', rules_path: about_more_path, privacy_policy_path: privacy_policy_path),
required: true,
required: false,
wrapper: :with_label
.actions