summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-06-20 19:03:09 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-06-20 19:03:09 +0000
commitacef1d535225123bdd93083eeaa3bfb03b74b26e (patch)
tree5b292eb22c3c05f678dd1242ae3aca30e63596f1
parentd2f8feb7c59aea7d76130f47d6c55b39ea88c90d (diff)
downloadredmine-acef1d535225123bdd93083eeaa3bfb03b74b26e.tar.gz
redmine-acef1d535225123bdd93083eeaa3bfb03b74b26e.zip
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
-rw-r--r--lib/tabular_form_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tabular_form_builder.rb b/lib/tabular_form_builder.rb
index 8728266ba..8dc5265d5 100644
--- a/lib/tabular_form_builder.rb
+++ b/lib/tabular_form_builder.rb
@@ -25,7 +25,7 @@ class TabularFormBuilder < ActionView::Helpers::FormBuilder
super
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
def #{selector}(field, options = {})
label_for_field(field, options) + super