Commit 6a23fb30 authored by Mike Greiling's avatar Mike Greiling

allow "." in group name validation regex

parent 5c6d3a99
......@@ -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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment