summaryrefslogtreecommitdiffstats
path: root/app/helpers/settings_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 12:08:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 12:08:10 +0000
commit15341bd8443be8eafd96a6751e3cbe0af56b0036 (patch)
tree6699e779e2f855e913d3c83ad77ad3dcc62400c2 /app/helpers/settings_helper.rb
parent7a4c6d2a1995a3b45a2c1030a8bbd04f75d0cb70 (diff)
downloadredmine-15341bd8443be8eafd96a6751e3cbe0af56b0036.tar.gz
redmine-15341bd8443be8eafd96a6751e3cbe0af56b0036.zip
Make labels clickable in Adminstration/Settings (#11496).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10127 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/settings_helper.rb')
-rw-r--r--app/helpers/settings_helper.rb2
1 files changed, 1 insertions, 1 deletions
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