Sha256: c5092750ea7d35f024cbb5bc5baff61d9f55d11c5a8967d20ca9baa23898be11

Contents?: true

Size: 357 Bytes

Versions: 7

Compression:

Stored size: 357 Bytes

Contents

<%# Simulating a normal table render for the side effects %>
<% capture do %>
  <%= header_row %>
  <% body_rows.each do |body| %>
    <%= body %>
  <% end %>
<% end %>

<%= tag.table(**html_attributes) do %>
  <%= tag.tbody(**tbody_attributes) do %>
    <% summary_rows.each do |summary_row| %>
      <%= summary_row %>
    <% end %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katalyst-tables-3.3.4 app/components/katalyst/summary_table_component.html.erb
katalyst-tables-3.3.3 app/components/katalyst/summary_table_component.html.erb
katalyst-tables-3.3.2 app/components/katalyst/summary_table_component.html.erb
katalyst-tables-3.3.1 app/components/katalyst/summary_table_component.html.erb
katalyst-tables-3.3.0 app/components/katalyst/summary_table_component.html.erb
katalyst-tables-3.2.0 app/components/katalyst/summary_table_component.html.erb
katalyst-tables-3.1.0 app/components/katalyst/summary_table_component.html.erb