Sha256: 66d3bbf908d51655f0d01c094cae033a2b7d0798292d1833a5659dcbee08b23a
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
<table class="table <%= table.styles_class %>"> <thead> <% table.headers.each do |header| %> <th><%= header %></th> <% end %> <% if (header_length = table.actions_header.length) > 0 %> <th colspan="<%= header_length %>"></th> <% end %> </thead> <tbody> <% table.rows.each do |row| %> <tr> <% table.cols(row).each do |col| %> <td><%= col %></td> <% end %> </tr> <% end %> </tbody> </table> <% if table.paginate? %> <%= paginate table.rows, param_name: table.paginate_param_name %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
action_table-0.2.0 | lib/action_table/views/action_table/_table.html.erb |
action_table-0.1.0 | lib/action_table/views/action_table/_table.html.erb |