Sha256: c53293326276583b4db938ba923c0ed97ed1d07f3055b10b973a318f40c05471

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

Stored size: 351 Bytes

Contents

<% theme = params[:theme] %>

<%= table_for @npw, theme: theme do |t|
  t.column :id 
  t.column :first_name 
  t.column :last_name 
  t.column :category 
  t.column :year 

  t.filter :category,
    as:            :checkbox,
    collection:    ['Chemistry', 'Literature', 'Peace', 'Physics', 'Physiology or Medicine'],
    include_blank: true
end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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