Skip to content

Migrate form_errors in edit password to Pajamas alert

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 image
After image

How to set up and validate locally

  1. Go to Edit profile -> Password (http://localhost:3000/-/profile/password).
  2. Enter Current Password.
  3. Enter a New Password and Password Confirmation which are different.
  4. 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.

Related to #364949 (closed)

Edited by Sharmad Nachnolkar

Merge request reports