Sha256: d73a8f1487fdab67d36ad0ee59acf2fd79540ef4ac665cff9fa522021bc39055
Contents?: true
Size: 751 Bytes
Versions: 1
Compression:
Stored size: 751 Bytes
Contents
<% wrapper_class = table.styles.responsive_wrapper_class %> <% if wrapper_class %> <div class="<%= wrapper_class %>"> <% end %> <table class="<%= table.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.3.0 | lib/action_table/views/action_table/_table.html.erb |