Sha256: afa6ee0ae102a64e6b2806097ba50166fe69622b2276299a9cf48955630488f2

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

Stored size: 331 Bytes

Contents

<%= tag.table(**html_attributes) do %>
  <%= render caption if caption? %>
  <% if header_row? %>
    <%= tag.thead(**thead_attributes) do %>
      <%= header_row %>
    <% end %>
  <% end %>
  <%= tag.tbody(**tbody_attributes) do %>
    <% body_rows.each do |body_row| %>
      <%= body_row %>
    <% end %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

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