Exclude fields_for in the TabularFormBuilder, it has a different method

signature. #5416

Contributed by Jean-Baptiste Barth

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3804 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-06-20 19:03:09 +00:00
parent d2f8feb7c5
commit acef1d5352
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class TabularFormBuilder < ActionView::Helpers::FormBuilder
super super
end end
(field_helpers - %w(radio_button hidden_field) + %w(date_select)).each do |selector| (field_helpers - %w(radio_button hidden_field fields_for) + %w(date_select)).each do |selector|
src = <<-END_SRC src = <<-END_SRC
def #{selector}(field, options = {}) def #{selector}(field, options = {})
label_for_field(field, options) + super label_for_field(field, options) + super