Sha256: 93c985fc3e53d322d52a04f00812680637a3ea0fddee9151b11d90d701f43e97
Contents?: true
Size: 421 Bytes
Versions: 15
Compression:
Stored size: 421 Bytes
Contents
<% table_for @articles do |table| table.column :id, :title table.column 'Action', :class => 'action' table.head.row do |row| row.cell "total: #{row.table.collection.size}", :colspan => :all, :class => 'total' end table.row do |row, record| row.cell record.id, record.title row.cell 'action' end table.foot.row do |row| row.cell 'foo' end table.empty :p, 'no records!', :class => 'empty' end %>
Version data entries
15 entries across 15 versions & 2 rubygems