summaryrefslogtreecommitdiff
path: root/app/views/shared/groups/_visibility_level.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/groups/_visibility_level.html.haml')
-rw-r--r--app/views/shared/groups/_visibility_level.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/groups/_visibility_level.html.haml b/app/views/shared/groups/_visibility_level.html.haml
new file mode 100644
index 00000000000..1a13de9b76a
--- /dev/null
+++ b/app/views/shared/groups/_visibility_level.html.haml
@@ -0,0 +1,3 @@
+= f.label :visibility_level, class: 'label-bold' do
+ = _('Visibility level')
+.js-visibility-level-dropdown{ data: { visibility_level_options: visibility_level_options(@group).to_json, default_level: f.object.visibility_level } }