Sha256: 35182cd1033ee6180f5b6198819c35d405178942e0605a73127ed56c6e543bf7
Contents?: true
Size: 540 Bytes
Versions: 15
Compression:
Stored size: 540 Bytes
Contents
<% table = table.renderer(self) %> <div class="table-container"> <%= content_tag(:table, id: table.id, class: table.classes, data: table.data) do %> <% if table.header? %> <thead> <tr> <% table.columns.each do |column| %> <%= content_tag(:th, column.header, class: column.classes, data: column.data) %> <% end %> </tr> </thead> <% end %> <tbody> <% collection.each do |instance| %> <%= table.row.render(instance) %> <% end %> </tbody> <% end %> </div>
Version data entries
15 entries across 15 versions & 1 rubygems