Sha256: afba8e8e72f65f3164637b8940aee9ea8eb351b2e5c0da311955edf14e9dda73

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

<%= grid(@projects_grid, show_filters: :always) do |g|
  g.column name: 'ID', attribute: 'id', filter: false
  g.column name: 'Project Name', attribute: 'name'
  g.column name: 'Customer company', attribute: 'name', assoc: :customer
  g.column name: 'Supplier company', attribute: 'name', assoc: :supplier, table_alias: 'suppliers_projects'
end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-7.1.3 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-7.1.2 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-7.1.1 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-7.1.0 spec/support/test_app/app/views/two_associations/_grid.html.erb