tabular_fields_for.diff

Jean-Baptiste Barth, 2010-04-30 14:50

Download (547 Bytes)

View differences:

lib/tabular_form_builder.rb (working copy)
25 25
    super
26 26
  end      
27 27
      
28
  (field_helpers - %w(radio_button hidden_field) + %w(date_select)).each do |selector|
28
  (field_helpers - %w(radio_button hidden_field fields_for) + %w(date_select)).each do |selector|
29 29
    src = <<-END_SRC
30 30
    def #{selector}(field, options = {}) 
31 31
      label_for_field(field, options) + super