git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10041
e93f8b46-1217-0410-a6f0-
8f06a7374b81
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