Project

General

Profile

Patch #4869 ยป tabular_form_builder.patch

Wayne Leroux, 2010-02-18 01:18

View differences:

lib/tabular_form_builder.rb
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.map { |name| name.to_s } - %w(radio_button hidden_field) + %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
    (1-1/1)