diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-07-06 12:04:14 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-07-07 13:25:58 -0500 |
commit | 35224dbf5e88936b138af7e6215a2e4e0503ae97 (patch) | |
tree | 2068701a02326d2c1d273d333cae2dd2e24b483a /app/views/admin/projects | |
parent | 338072cc4ba66cd7eb6fbd9541862946e4ae4b75 (diff) | |
download | gitlab-ce-35224dbf5e88936b138af7e6215a2e4e0503ae97.tar.gz |
Do not show Any Namespace option when needed
Diffstat (limited to 'app/views/admin/projects')
-rw-r--r-- | app/views/admin/projects/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index 7e1f5a52c6f..2c5aba71699 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -100,7 +100,7 @@ = f.label :new_namespace_id, "Namespace", class: 'control-label' .col-sm-10 .dropdown - = dropdown_toggle('Search for Namespace', { toggle: 'dropdown', field_name: 'new_namespace_id' }, { toggle_class: 'js-namespace-select large' }) + = dropdown_toggle('Search for Namespace', { toggle: 'dropdown', field_name: 'new_namespace_id', show_any: 'false' }, { toggle_class: 'js-namespace-select large' }) .dropdown-menu.dropdown-select = dropdown_title('Namespaces') = dropdown_filter("Search for Namespace") |