summaryrefslogtreecommitdiff
path: root/app/views/projects/new.html.haml
diff options
context:
space:
mode:
authorGeorge Andrinopoulos <geoandri@gmail.com>2017-03-24 18:19:50 +0000
committerRémy Coutable <remy@rymai.me>2017-03-24 18:19:50 +0000
commit2f9d50b72fedf09900289e6a0bcf59433d0c05f5 (patch)
tree8d998283e4f503f24f50cad49104e11ff607b864 /app/views/projects/new.html.haml
parentc0ce9d0157a8bf4b4e2558ea81987491f17ce6ac (diff)
downloadgitlab-ce-2f9d50b72fedf09900289e6a0bcf59433d0c05f5.tar.gz
Resolve "Gitlab administrator cannot create projects in every group"
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index d129da943f8..34a1214a350 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -23,7 +23,7 @@
- if current_user.can_select_namespace?
.input-group-addon
= root_url
- = f.select :namespace_id, namespaces_options(namespace_id_from(params) || :current_user, display_path: true), {}, {class: 'select2 js-select-namespace', tabindex: 1}
+ = f.select :namespace_id, namespaces_options(namespace_id_from(params) || :current_user, display_path: true, extra_group: namespace_id_from(params)), {}, { class: 'select2 js-select-namespace', tabindex: 1}
- else
.input-group-addon.static-namespace