Sha256: e9aa0f1c29ec6d60e8c412d7351caf7e21362afa9d65cfc22ac3b2d5c35fe1f6

Contents?: true

Size: 303 Bytes

Versions: 6

Compression:

Stored size: 303 Bytes

Contents

<%= content_tag :table, local_assigns.slice(:style).merge(class: "design__table") do %>
  <thead>
    <% headings.each do |heading| %>
      <th><%= heading %></th>
    <% end %>
  </thead>
  <tbody>
    <% items.each do |row| %>
      <tr><%= render_row(row) %></tr>
    <% end %>
  </tbody>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-design-0.29.1 app/views/decidim/design/shared/_table.html.erb
decidim-design-0.29.0 app/views/decidim/design/shared/_table.html.erb
decidim-design-0.29.0.rc4 app/views/decidim/design/shared/_table.html.erb
decidim-design-0.29.0.rc3 app/views/decidim/design/shared/_table.html.erb
decidim-design-0.29.0.rc2 app/views/decidim/design/shared/_table.html.erb
decidim-design-0.29.0.rc1 app/views/decidim/design/shared/_table.html.erb