Migrate `form_errors` in create user form to Pajamas alert
requested to merge 364962-migrate-form_errors-in-app-views-admin-users-_form-html-haml-to-pajamas-alertcomponent-2 into master
What does this MR do and why?
Migrate form_errors
in app/views/admin/users/_form.html.haml to Pajamas::AlertComponent
Screenshots or screen recordings
Scenario | Screenshot |
---|---|
Before | ![]() |
After | ![]() |
How to set up and validate locally
- With an admin account, go to http://localhost:3000/admin/users
- Click on
New user
. - In the
Name
,Username
, andEmail
field enter the values
and pressCreate user
- Alert should be shown with error message.
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 #364962 (closed)
Edited by Sharmad Nachnolkar