allow "." in group name validation regex
This commit is contained in:
parent
5c6d3a99ef
commit
6a23fb305f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue