Sha256: 9d4b4bbecf749a31d1d8711f8dae7566c9f7571b61a74b2b588b3cbda157ca1b
Contents?: true
Size: 604 Bytes
Versions: 30
Compression:
Stored size: 604 Bytes
Contents
<% columns_length = 0 columns_groups = [] %> <tr> <% columns.each_column(for: record) do |column| -%> <% if column.respond_to? :each_column columns_groups << column next end columns_length += 1 %> <%= content_tag :td, content_tag(:span, show_column_value(record, column)), :class => "#{column.name}-column #{:numeric if column.number?}" %> <% end -%> </tr> <% columns_groups.each do |columns_group| %> <tr> <td colspan="<%= columns_length %>"> <% columns_group.each_column do |column| %> <%= show_column_value(record, column) %> <% end %> </td> </tr> <% end -%>
Version data entries
30 entries across 30 versions & 1 rubygems