Sha256: 22fa8a7ea2699aa089da003a3983529bf9c2cf75deec7fd1d4b7cc665f37a633

Contents?: true

Size: 596 Bytes

Versions: 15

Compression:

Stored size: 596 Bytes

Contents

<%= static_table_for @products do |t|
  t.column :title
  t.column :title, format: :foo_me
  t.column :title, format: ->(a) { bar_me(a) }
  t.column :price
  t.column :price, format: "%08.4f"
  t.column :active
  t.column :updated_at
  t.column :updated_at do |r|
    r.updated_at.strftime('%d.%M.%Y')
  end
  t.association :vendor, :name
  t.association :tags, :title
  t.association :tags, :title, format: :bar_me
  t.association :tags, :title, format: ->(a) { foo_me(a) }
  t.association :tags, :count, map: false
  t.action header: "ACTION!" do |t|
    t.title.upcase
  end
end or "empty" %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tabulatr2-0.9.4 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.9.3 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.9.2 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.9.1 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.9.0 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.9 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.8 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.7 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.6 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.5 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.4 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.3 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.2 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.1 spec/dummy/app/views/products/stupid_array.html.erb
tabulatr2-0.8.0 spec/dummy/app/views/products/stupid_array.html.erb