Sha256: 196f9e8209d2cf3740d088dfccf0680758c4939334b43b7bceeb32752eeb219b
Contents?: true
Size: 658 Bytes
Versions: 11
Compression:
Stored size: 658 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 t.buttons do |b,r| b.button :eye, product_path(r) end end or "empty" %>
Version data entries
11 entries across 11 versions & 1 rubygems