]> source.dussan.org Git - redmine.git/commitdiff
Make labels clickable in Adminstration/Settings (#11496).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jul 2012 12:08:10 +0000 (12:08 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jul 2012 12:08:10 +0000 (12:08 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10127 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/settings_helper.rb

index af901cbcf9cb7798f864b7b099cff33171962fde..ae3fe87b1b09a134b03cd39a94de21637e123f73 100644 (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