<% table.headers.each do |header| %> <% end %> <% if (header_length = table.actions_header.length) > 0 %> <% end %> <% table.rows.each do |row| %> <% table.cols(row).each do |col| %> <% end %> <% end %>
<%= header %>
<%= col %>
<% if table.paginate? %> <%= paginate table.rows, param_name: table.paginate_param_name %> <% end %>