Sha256: 97ee603e7b87244997e473ac948f79111543e9449c3c9a7080d36dcb6df2c689

Contents?: true

Size: 762 Bytes

Versions: 3

Compression:

Stored size: 762 Bytes

Contents

<%= table_for @npw do |t|
  t.column :id 
  t.column :created_at
  t.column :updated_at
  t.column :first_name 
  t.column :last_name 
  t.column :birthdate
  t.column :category 
  t.column :year 
  t.column :shared do |record|
    record.shared? ? 'Yes' : 'No'
  end
  t.column :meaningless_time
  t.column :meaningless_decimal
  t.column :meaningless_float

  t.filter :id
  t.filter :created_at
  t.filter :updated_at
  t.filter :first_name
  t.filter :last_name
  t.filter :birthdate
  t.filter :category,
    collection:    ['Chemistry', 'Literature', 'Peace', 'Physics', 'Physiology or Medicine'],
    include_blank: true
  t.filter :year
  t.filter :shared
  t.filter :meaningless_time
  t.filter :meaningless_decimal
  t.filter :meaningless_float
end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tableficate-0.3.2 spec/test_app/app/views/filters/html5_input_types.html.erb
tableficate-0.3.1 spec/test_app/app/views/filters/html5_input_types.html.erb
tableficate-0.3.0 spec/test_app/app/views/filters/html5_input_types.html.erb