Migrate form_errors in edit password to Pajamas alert
requested to merge 364949-migrate-form_errors-in-app-views-profiles-passwords-edit-html-haml-to-pajamas-alertcomponent into master
What does this MR do and why?
Migrate form_errors
in app/views/profiles/passwords/edit.html.haml to Pajamas::AlertComponent.
Screenshots or screen recordings
Scenario | Screenshot |
---|---|
Before | |
After |
How to set up and validate locally
- Go to
Edit profile -> Password
(http://localhost:3000/-/profile/password). - Enter
Current Password
. - Enter a
New Password
andPassword Confirmation
which are different. - Click
Save password
. You should see a validation error.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #364949 (closed)
Edited by Sharmad Nachnolkar