diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index af901cbcf..ae3fe87b1 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -79,7 +79,7 @@ module SettingsHelper def setting_label(setting, options={}) label = options.delete(:label) - label != false ? content_tag("label", l(label || "setting_#{setting}")).html_safe : '' + label != false ? label_tag("settings_#{setting}", l(label || "setting_#{setting}")).html_safe : '' end # Renders a notification field for a Redmine::Notifiable option