Sha256: c98f51dc8c6a70ee59ef370473b93b28f2ffb1213375475f0c17f235560de738

Contents?: true

Size: 330 Bytes

Versions: 37

Compression:

Stored size: 330 Bytes

Contents

= resources_table(component: component, model: model) 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

37 entries across 37 versions & 1 rubygems

Version Path
para-0.12.4 lib/generators/para/table/templates/_table.html.haml
para-0.12.3 lib/generators/para/table/templates/_table.html.haml
para-0.12.2 lib/generators/para/table/templates/_table.html.haml
para-0.12.1 lib/generators/para/table/templates/_table.html.haml
para-0.12.0 lib/generators/para/table/templates/_table.html.haml
para-0.11.4 lib/generators/para/table/templates/_table.html.haml
para-0.11.3 lib/generators/para/table/templates/_table.html.haml
para-0.11.2 lib/generators/para/table/templates/_table.html.haml
para-0.11.1 lib/generators/para/table/templates/_table.html.haml
para-0.11.0 lib/generators/para/table/templates/_table.html.haml
para-0.10.0 lib/generators/para/table/templates/_table.html.haml
para-0.9.4 lib/generators/para/table/templates/_table.html.haml
para-0.9.3.3 lib/generators/para/table/templates/_table.html.haml
para-0.9.3.2 lib/generators/para/table/templates/_table.html.haml
para-0.9.3.1 lib/generators/para/table/templates/_table.html.haml
para-0.9.2 lib/generators/para/table/templates/_table.html.haml
para-0.9.0 lib/generators/para/table/templates/_table.html.haml
para-0.8.15 lib/generators/para/table/templates/_table.html.haml
para-0.8.14 lib/generators/para/table/templates/_table.html.haml
para-0.8.13 lib/generators/para/table/templates/_table.html.haml