def draw_field(f, col, options={})
      case col.type
      when :date
        draw_date(f, col, options[:date] || {})
      when :datetime
        draw_datetime(f, col, options[:datetime] || {})
      when :integer
        f.text_field(col.name, options[:integer])
      else
        f.text_field(col.name, options[:text])
      end
    end
def draw_field(f, col, options={})
      case col.type
      when :date
        draw_date(f, col, options[:date] || {})
      when :datetime
        draw_datetime(f, col, options[:datetime] || {})
      when :integer
        f.text_field(col.name, options[:integer])
      else
        f.text_field(col.name, options[:text])
      end
    end
draw default field for col.type

 options[type] is passed to each rails helper.  Following types are
 supported:
 * :date
 * :datetime
 * :integer
 * :boolean
 * :text

 === INPUTS
 f::         FormBuilder object
 col::       column info returned by AR.columns, or symbol
 options::   options hash passed to each helper.