summaryrefslogtreecommitdiff
path: root/app/helpers/application_settings_helper.rb
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2015-03-10 18:21:09 -0600
committerVinnie Okada <vokada@mrvinn.com>2015-03-10 18:36:43 -0600
commit9623b71a3975bb442b85aa57146b788f96de6320 (patch)
tree564e3e154a94b97cc839c7132fe4b4ac2027683d /app/helpers/application_settings_helper.rb
parent928fc94c3d900069902b097d6464acee712a886c (diff)
downloadgitlab-ce-9623b71a3975bb442b85aa57146b788f96de6320.tar.gz
More restricted visibility changes
Bug fixes and new tests for the restricted visibility changes.
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r--app/helpers/application_settings_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb
index 2b0d8860f9b..241d6075c9f 100644
--- a/app/helpers/application_settings_helper.rb
+++ b/app/helpers/application_settings_helper.rb
@@ -29,7 +29,8 @@ module ApplicationSettingsHelper
checkbox_name = 'application_setting[restricted_visibility_levels][]'
label_tag(checkbox_name, class: css_class) do
- check_box_tag(checkbox_name, level, checked, autocomplete: 'off',
+ check_box_tag(checkbox_name, level, checked,
+ autocomplete: 'off',
'aria-describedby' => help_block_id) + name
end
end