Sha256: 09b82c57e96906a2f936ce07d587163a2ff9fc0419e295b5db128da61116990b

Contents?: true

Size: 436 Bytes

Versions: 3

Compression:

Stored size: 436 Bytes

Contents

= table_go_for(articles, Article) do |t|
  - t.column :ident
  - t.column :custom_single_cell do |value, record, column|
    = "Ident: %s - Title: %s" % [record.ident, record.title]
  - t.column :custom_multiline_cell do |value, record, column|
    = "Ident: %s -" % record.ident
    = " Title: %s" % record.title
  - t.column :custom_single_cell_with_backwards_compatibility do |value, record, column|
    - "Ident: %s" % record.ident

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
table_go-0.2.2 spec/fixtures/simple_table.html.haml
table_go-0.2.1 spec/fixtures/simple_table.html.haml
table_go-0.2.0 spec/fixtures/simple_table.html.haml