diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-18 19:14:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-18 19:14:35 +0000 |
commit | 6668d7ebd180bc9a3c29ec416def4cc9f94e5e75 (patch) | |
tree | c67c73f53df0a32bf73b4a1d7f10c91f671c4cce /app | |
parent | 1c8d03c1e929304738911f5821497ee8ca7accea (diff) | |
download | redmine-6668d7ebd180bc9a3c29ec416def4cc9f94e5e75.tar.gz redmine-6668d7ebd180bc9a3c29ec416def4cc9f94e5e75.zip |
Removed deprecated #labelled_tabular_form_for helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10041 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c4df6b1b3..c6f9efa9f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 |