Skip to content

Migrate `form_errors` in set new password to Pajamas alert

What does this MR do and why?

Migrate form_errors in app/views/profiles/passwords/new.html.haml to Pajamas::AlertComponent

Screenshots or screen recordings

Scenario Screenshot
Before image
After image

How to set up and validate locally

  1. On your local GDK go to http://localhost:3000/-/profile/password
  2. Enter the correct Current password.
  3. In New password enter a and in Password confirmation enter b.
  4. Click Set new password.
  5. 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.

Related to #364958 (closed)

Edited by Sharmad Nachnolkar

Merge request reports

Loading