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

Version Path
active_scaffold-3.7.8 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.7.7 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.7.6 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.7.5 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.7.2 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.7.1 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.7.0 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.20 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.19 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.17 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.15 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.14 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.13 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.12 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.11.1 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.11 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.10 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.9 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.8 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb
active_scaffold-3.6.6 app/views/active_scaffold_overrides/_show_horizontal_record.html.erb