summaryrefslogtreecommitdiff
path: root/app/views/groups/edit.html.haml
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-11-05 12:38:00 +0200
committerValery Sizov <valery@gitlab.com>2015-11-05 13:18:51 +0200
commit6051c28fc03b4d9928ee2f2855f210845f9c0579 (patch)
tree43447b26e57d81765f983ef38e34eb5b3ba10997 /app/views/groups/edit.html.haml
parent363900a3e7902cbda8f62b55eb2c30881b3dae3f (diff)
downloadgitlab-ce-6051c28fc03b4d9928ee2f2855f210845f9c0579.tar.gz
Allow groups to appear in the search results if the group owner allows it
Diffstat (limited to 'app/views/groups/edit.html.haml')
-rw-r--r--app/views/groups/edit.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index ae8fc9f85f0..57308a661c0 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -25,6 +25,15 @@
%hr
= link_to 'Remove avatar', group_avatar_path(@group.to_param), data: { confirm: "Group avatar will be removed. Are you sure?"}, method: :delete, class: "btn btn-remove btn-sm remove-avatar"
+ .form-group
+ %hr
+ = f.label :public, class: 'control-label' do
+ Public
+ .col-sm-10
+ .checkbox
+ = f.check_box :public
+ %span.descr Make this group public (even if there is no any public project inside this group)
+
.form-actions
= f.submit 'Save group', class: "btn btn-save"