##// END OF EJS Templates
Removed unused helper....
Jean-Philippe Lang -
r13319:89add05d2d33
parent child
Show More
@@ -1006,11 +1006,6 module ApplicationHelper
1006 (blank ? [["(auto)", ""]] : []) + languages_options
1006 (blank ? [["(auto)", ""]] : []) + languages_options
1007 end
1007 end
1008
1008
1009 def label_tag_for(name, option_tags = nil, options = {})
1010 label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "")
1011 content_tag("label", label_text)
1012 end
1013
1014 def labelled_form_for(*args, &proc)
1009 def labelled_form_for(*args, &proc)
1015 args << {} unless args.last.is_a?(Hash)
1010 args << {} unless args.last.is_a?(Hash)
1016 options = args.last
1011 options = args.last
General Comments 0
You need to be logged in to leave comments. Login now