Skip to content

Add a new form error helper method

Mayra Cabrera requested to merge 56750-extend-errors-form-helper into master

What does this MR do?

Includes a new form error helper to only display errors from the base model. This will one will not render the errors from the model associations. This will avoid scenarios like https://gitlab.com/gitlab-org/gitlab-ce/issues/56750

Before After
screencapture-localhost-3000-root-project-without-ingress-clusters-225-2019-01-24-12_08_51 screencapture-localhost-3000-root-project-without-ingress-clusters-225-2019-01-24-12_08_08

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/56750

Does this MR meet the acceptance criteria?

Closes #56750 (moved)

Edited by 🤖 GitLab Bot 🤖

Merge request reports