]> source.dussan.org Git - redmine.git/commitdiff
Removed deprecated #labelled_tabular_form_for helper.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 18 Jul 2012 19:14:35 +0000 (19:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 18 Jul 2012 19:14:35 +0000 (19:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10041 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index c4df6b1b3f169c4a65ec2d69ed8da4fd74de3661..c6f9efa9f36db458b3de59416a02c0851e990529 100644 (file)
@@ -938,16 +938,6 @@ module ApplicationHelper
     content_tag("label", label_text)
   end
 
-  def labelled_tabular_form_for(*args, &proc)
-    ActiveSupport::Deprecation.warn "ApplicationHelper#labelled_tabular_form_for is deprecated and will be removed in Redmine 1.5. Use #labelled_form_for instead."
-    args << {} unless args.last.is_a?(Hash)
-    options = args.last
-    options[:html] ||= {}
-    options[:html][:class] = 'tabular' unless options[:html].has_key?(:class)
-    options.merge!({:builder => Redmine::Views::LabelledFormBuilder})
-    form_for(*args, &proc)
-  end
-
   def labelled_form_for(*args, &proc)
     args << {} unless args.last.is_a?(Hash)
     options = args.last