b4045e997f
Adds JavaScript validation for group path editing
## What does this MR do?
- Prevents group_edit form submission when special characters are included in the new group name
- Enhances gl_field_errors to support this use case and be more re-usable.
## Are there points in the code the reviewer needs to double check?
**The implementation of validation is here:
|
||
---|---|---|
.. | ||
bin | ||
config | ||
controllers | ||
factories | ||
features | ||
finders | ||
fixtures | ||
helpers | ||
initializers | ||
javascripts | ||
lib | ||
mailers | ||
models | ||
policies | ||
requests | ||
routing | ||
services | ||
support | ||
tasks/gitlab | ||
uploaders | ||
views | ||
workers | ||
factories_spec.rb | ||
rails_helper.rb | ||
rake_helper.rb | ||
simplecov_env.rb | ||
spec_helper.rb | ||
teaspoon_env.rb |