Sha256: bf91a2b6f621226108aa1b4f99d1d5ad98f641728367daeb454dd489a6f5dfb0

Contents?: true

Size: 330 Bytes

Versions: 22

Compression:

Stored size: 330 Bytes

Contents

= resources_table(model: model, component: component) do |table|
  = table.header do
    <%- attributes.each do |field| -%>
    = table.header_for(:<%= field.name %>)
    <%- end -%>

  = table.rows(resources) do |resource|
    <%- attributes.each do |field| -%>
    = table.data_for(resource, :<%= field.name %>)
    <%- end -%>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
para-0.7.4.p1 lib/generators/para/table/templates/_table.html.haml
para-0.7.4 lib/generators/para/table/templates/_table.html.haml
para-0.7.3.p6 lib/generators/para/table/templates/_table.html.haml
para-0.7.3.p5 lib/generators/para/table/templates/_table.html.haml
para-0.7.3.p4 lib/generators/para/table/templates/_table.html.haml
para-0.7.3.p3 lib/generators/para/table/templates/_table.html.haml
para-0.7.3.p2 lib/generators/para/table/templates/_table.html.haml
para-0.7.3.p1 lib/generators/para/table/templates/_table.html.haml
para-0.7.3 lib/generators/para/table/templates/_table.html.haml
para-0.7.2 lib/generators/para/table/templates/_table.html.haml
para-0.7.1 lib/generators/para/table/templates/_table.html.haml
para-0.7.0 lib/generators/para/table/templates/_table.html.haml
para-0.6.9 lib/generators/para/table/templates/_table.html.haml
para-0.6.8 lib/generators/para/table/templates/_table.html.haml
para-0.6.7 lib/generators/para/table/templates/_table.html.haml
para-0.6.3 lib/generators/para/table/templates/_table.html.haml
para-0.6.2 lib/generators/para/table/templates/_table.html.haml
para-0.5.4 lib/generators/para/table/templates/_table.html.haml
para-0.5.3 lib/generators/para/table/templates/_table.html.haml
para-0.5.1 lib/generators/para/table/templates/_table.html.haml