diff options
Diffstat (limited to 'app/views/shared/_visibility_select.html.haml')
-rw-r--r-- | app/views/shared/_visibility_select.html.haml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/views/shared/_visibility_select.html.haml b/app/views/shared/_visibility_select.html.haml deleted file mode 100644 index 42210f565f6..00000000000 --- a/app/views/shared/_visibility_select.html.haml +++ /dev/null @@ -1,11 +0,0 @@ -- if can_change_visibility_level?(@project, current_user) - - levels_options_hash = {} - - Gitlab::VisibilityLevel.values.each do |level| - - levels_options_hash[visibility_level_label(level)] = level - - options = options_for_select(levels_options_hash, selected_level) - = form.select(model_method, options, {}, class: 'form-control visibility-select') -- else - .info.js-locked{ data: { help_block: visibility_level_description(@project.visibility_level, @project)}} - = visibility_level_icon(@project.visibility_level) - %strong - = visibility_level_label(@project.visibility_level) |