Bad error UI on registration of Project Deploy Tokens
Summary
A user will see a bad error UI on registration of Project Deploy Tokens.
Steps to reproduce
- Access to Project > Settings > Settings with Maintainer+ permission
- Open Deploy Tokens
- Input " " to Name and click "Create deploy token" to reproduce a simple validation error
- Then you will see the following error:
What is the current bug behavior?
Both flash (floating) and in-line error messages appear on error.
What is the expected correct behavior?
Either flash (floating) or in-line error messages appear on error.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com (13.7-pre).