mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
Merge 2debd43dd4 into 002632c3bb
This commit is contained in:
commit
6793412c74
|
|
@ -16,7 +16,7 @@
|
|||
wrapper: :with_label
|
||||
.fields-group
|
||||
= f.input :password_confirmation,
|
||||
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_new_password'), autocomplete: 'new-password' },
|
||||
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_new_password'), autocomplete: 'new-password', minlength: User.password_length.first, maxlength: User.password_length.last },
|
||||
label: t('simple_form.labels.defaults.confirm_new_password'),
|
||||
required: true,
|
||||
wrapper: :with_label
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
.fields-row__column.fields-group.fields-row__column-6
|
||||
= f.input :password_confirmation,
|
||||
disabled: current_account.suspended?,
|
||||
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_new_password'), autocomplete: 'new-password' },
|
||||
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_new_password'), autocomplete: 'new-password', minlength: User.password_length.first, maxlength: User.password_length.last },
|
||||
label: t('simple_form.labels.defaults.confirm_new_password'),
|
||||
wrapper: :with_label
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
wrapper: :with_label
|
||||
= f.input :password_confirmation,
|
||||
hint: false,
|
||||
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_password'), autocomplete: 'new-password', maxlength: User.password_length.last },
|
||||
input_html: { 'aria-label': t('simple_form.labels.defaults.confirm_password'), autocomplete: 'new-password', minlength: User.password_length.first, maxlength: User.password_length.last },
|
||||
placeholder: t('simple_form.labels.defaults.confirm_password'),
|
||||
required: true
|
||||
= f.input :confirm_password,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user