Sha256: e0ad1bd18188595fb70af904c8e62aa8b92dc4923aa162ab4e3608ad7aa3183e

Contents?: true

Size: 490 Bytes

Versions: 7

Compression:

Stored size: 490 Bytes

Contents

<%= table_for Product, :paginate => true do |t|
  t.checkbox
  t.column :title, sortable: true, width: '60px', align: 'left', valign: 'top', wrap: 'nowrap', cell_style: {:'background-color' => 'green'}, header_style: {color: 'orange'}
  t.column :price, filter: :range
  t.column :active, sortable: false
  t.column :vendor_product_name, header: 'Product by vendor'
  t.column :updated_at, filter: :date
  t.association :vendor, :name, filter: :exact
  t.association :tags, :titletd
end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tabulatr2-0.8.9 spec/dummy/app/views/products/with_styling.html.erb
tabulatr2-0.8.8 spec/dummy/app/views/products/with_styling.html.erb
tabulatr2-0.8.7 spec/dummy/app/views/products/with_styling.html.erb
tabulatr2-0.8.6 spec/dummy/app/views/products/with_styling.html.erb
tabulatr2-0.8.5 spec/dummy/app/views/products/with_styling.html.erb
tabulatr2-0.8.4 spec/dummy/app/views/products/with_styling.html.erb
tabulatr2-0.8.3 spec/dummy/app/views/products/with_styling.html.erb