Migrate `form_errors` in visiblity and access to Pajamas alert
What does this MR do and why?
Migrate form_errors in app/views/admin/application_settings/_visibility_and_access.html.haml to Pajamas::AlertComponent.
Screenshots or screen recordings
| Scenario | Screenshot |
|---|---|
| Before | ![]() |
| After | ![]() |
How to set up and validate locally
- Login to your local GDK as an admin user.
- From the top left
Menugo toAdmin. - From the left menu bar in
Admin areago toSettings -> General. - Expand the
Visibility and access controlssection. - Enter an invalid IP address in the last field like
abc. - Click on
Save changes. - Observe that alert is shown.
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 #364912 (closed)
Edited by Sharmad Nachnolkar

