summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-05-25 15:14:16 +0000
committerRobert Speicher <robert@gitlab.com>2017-05-25 15:14:16 +0000
commit516e3532c68fb8f40fee083039e711cd6bb8c78c (patch)
tree8aa163411ef184bccb332b7f4622178f4f1acfdd /app/views/shared
parent6a88f187be67b8396a23f9b458a2718845af8e5e (diff)
parentc27877cab540f51e9932d6f786e8c39bc4260594 (diff)
downloadgitlab-ce-516e3532c68fb8f40fee083039e711cd6bb8c78c.tar.gz
Merge branch 'revert-b0498c17' into 'master'
Refactor `DynamicPathValidator` and `GitLab::Regex` some more See merge request !11693
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_group_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_group_form.html.haml b/app/views/shared/_group_form.html.haml
index 90ae3f06a98..8d5b5129454 100644
--- a/app/views/shared/_group_form.html.haml
+++ b/app/views/shared/_group_form.html.haml
@@ -15,7 +15,7 @@
%strong= parent.full_path + '/'
= f.text_field :path, placeholder: 'open-source', class: 'form-control',
autofocus: local_assigns[:autofocus] || false, required: true,
- pattern: Gitlab::Regex::NAMESPACE_REGEX_STR_JS,
+ pattern: Gitlab::PathRegex::NAMESPACE_FORMAT_REGEX_JS,
title: 'Please choose a group path with no special characters.',
"data-bind-in" => "#{'create_chat_team' if Gitlab.config.mattermost.enabled}"
- if parent