Merge branch 'feature/2.4.0/accessibility-master' of github.com:finnlabs/chiliproject into feature/2.4.0/accessibility-master

pull/41/head
Romano Licker 13 years ago
commit 725e646b86
  1. 2
      app/helpers/settings_helper.rb

@ -60,7 +60,7 @@ module SettingsHelper
def setting_check_box(setting, options={})
setting_label(setting, options) +
content_tag(:input, nil, :type => "hidden", :name => "settings[#{setting}]", :value => 0, :id => "settings_#{setting}_hidden") +
tag(:input, :type => "hidden", :name => "settings[#{setting}]", :value => 0, :id => "settings_#{setting}_hidden") +
check_box_tag("settings[#{setting}]", 1, Setting.send("#{setting}?"), options)
end

Loading…
Cancel
Save