Sha256: 70218f6857099e801db589e2d3a035b6e4dab644b29409c1a1b886874f696715
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
<% wrapper_class = styles.responsive_wrapper_class %> <% if wrapper_class %> <div class="<%= wrapper_class %>"> <% end %> <table class="<%= styles.table_classes %>"> <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.columns(row).each do |col| %> <td><%= col %></td> <% end %> </tr> <% end %> </tbody> </table> <% if wrapper_class %> </div> <% end %> <% if table.paginate? %> <%= paginate table.rows, param_name: table.paginate_param_name %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
action_table-0.4.0 | lib/action_table/views/action_table/_table.html.erb |