Migrate protected tag error form
What does this MR do and why?
Migrate errors form for protected tag project repository settings
Closes #364940 (closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Open a project where you have admin rights
- Navigate to Settings -> Repository http://localhost:3000/flightjs/Flight/-/settings/repository
- Expand
Protected tag
section - Trigger an error, for example by adding this line to the haml
- @protected_tag.errors.add(:base, "Something went wrong")
- Observe change form 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.