Sha256: 3b8cc08209b8af5318d670e7fdfb85f47d4d30ba36d4b7a73a917f22d873a233

Contents?: true

Size: 668 Bytes

Versions: 3

Compression:

Stored size: 668 Bytes

Contents

= table_go_for(articles, Article) do |t|
  - t.without_header true
  - 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
  - t.column :field_with_html_markup, :label => 'field with_html_markup' do |value, record, column|
    = link_to('click me', 'http://nowhere.com')
    %br
    = link_to('and here', 'http://otherwhere.com')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
table_go-0.2.6 spec/fixtures/table_go_for_without_header.html.haml
table_go-0.2.5 spec/fixtures/table_go_for_without_header.html.haml
table_go-0.2.4 spec/fixtures/table_go_for_without_header.html.haml