Skip to content

Commit

Permalink
Merge pull request #763 from polina-belyakaeva/fix-button-style-for-p…
Browse files Browse the repository at this point in the history
…assword-recovery

fix confirm password button #755
  • Loading branch information
fey committed Aug 6, 2024
2 parents c680ab3 + f39b7bd commit 746cadf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/devise/passwords/edit.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ h2
= f.error_notification message: t('devise.correct_errors')
= f.input :reset_password_token, as: :hidden
= f.full_error :reset_password_token
.form-inputs
.form-inputs.mb-3
= f.input :password, label: t('.new_password'), required: true, autofocus: true,
hint: (t('devise.shared.minimum_password_length', count: @minimum_password_length) if @minimum_password_length),
input_html: { autocomplete: 'new-password' }
= f.input :password_confirmation, label: t('.confirm_new_password'), required: true, input_html: { autocomplete: 'new-password' }
.form-actions
= f.button :submit, t('.change_my_password')
.form-actions.mb-3
= f.button :submit, t('.change_my_password'), class: 'btn-primary'
= render 'devise/shared/links'

0 comments on commit 746cadf

Please sign in to comment.