Sha256: a18b0e26bedd8e493b283f2bf04cf7973db1c3b945cc0a3e990aafc583071e0c

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 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:            :radio,
    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/radio_tags.html.erb
tableficate-0.3.1 spec/test_app/app/views/filters/radio_tags.html.erb
tableficate-0.3.0 spec/test_app/app/views/filters/radio_tags.html.erb
tableficate-0.2.1 spec/test_app/app/views/filters/radio_tags.html.erb
tableficate-0.2.0 spec/test_app/app/views/filters/radio_tags.html.erb