Make labels clickable in Adminstration/Settings (#11496).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10127 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-29 12:08:10 +00:00
parent 7a4c6d2a19
commit 15341bd844
1 changed files with 1 additions and 1 deletions

View File

@ -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