Skip to content
Snippets Groups Projects
Commit 6a23fb30 authored by Mike Greiling's avatar Mike Greiling
Browse files

allow "." in group name validation regex

parent 5c6d3a99
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -13,7 +13,7 @@
.input-group-addon
= root_url
= f.text_field :path, placeholder: 'open-source', class: 'form-control',
autofocus: local_assigns[:autofocus] || false, pattern: "[a-zA-Z0-9-_]+",
autofocus: local_assigns[:autofocus] || false, pattern: "[a-zA-Z0-9-_\\.]+",
required: true, title: 'Please choose a group name with no special characters.'
 
- if @group.persisted?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment