]> source.dussan.org Git - redmine.git/commitdiff
Removed unused helper.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 4 Dec 2014 20:58:48 +0000 (20:58 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 4 Dec 2014 20:58:48 +0000 (20:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13701 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index b74300912ff115b4c5a21ff798f756f52060ae37..b98a517e1309df85dbfc5b134af0f5b3fa60d038 100644 (file)
@@ -1006,11 +1006,6 @@ module ApplicationHelper
     (blank ? [["(auto)", ""]] : []) + languages_options
   end
 
-  def label_tag_for(name, option_tags = nil, options = {})
-    label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "")
-    content_tag("label", label_text)
-  end
-
   def labelled_form_for(*args, &proc)
     args << {} unless args.last.is_a?(Hash)
     options = args.last