diff options
author | mayaeh <mayaeh@marimo-net.org> | 2018-11-16 19:18:43 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-11-16 11:18:43 +0100 |
commit | bdd3c8c25571d1265e55bf3a634a40d156a861e0 (patch) | |
tree | c1499679c03129b88267f5e43ca3469c8ce01b4a /app | |
parent | 8f7e3d37726cc92ccada4b6d44a46d680e4e68b0 (diff) |
Change the password form order (#9267)
* Change order of password. * Update Japanese translation for "Show thread". * Separate the translation PR.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/auth/registrations/edit.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/auth/registrations/edit.html.haml b/app/views/auth/registrations/edit.html.haml index 7fc08a23b..694461fdf 100644 --- a/app/views/auth/registrations/edit.html.haml +++ b/app/views/auth/registrations/edit.html.haml @@ -9,13 +9,14 @@ = f.input :email, wrapper: :with_label, input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }, required: true, hint: false .fields-group - = f.input :password, wrapper: :with_label, input_html: { 'aria-label' => t('simple_form.labels.defaults.new_password'), :autocomplete => 'off' }, hint: false + = f.input :current_password, wrapper: :with_label, input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password'), :autocomplete => 'off' }, required: true .fields-group - = f.input :password_confirmation, wrapper: :with_label, label: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password'), :autocomplete => 'off' } + = f.input :password, wrapper: :with_label, label: t('simple_form.labels.defaults.new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.new_password'), :autocomplete => 'off' }, hint: false .fields-group - = f.input :current_password, wrapper: :with_label, input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password'), :autocomplete => 'off' }, required: true + = f.input :password_confirmation, wrapper: :with_label, label: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password'), :autocomplete => 'off' } + .actions = f.button :button, t('generic.save_changes'), type: :submit |