Sha256: ce9ed7354564208b236f7694e1bf82891d78448e94f8f7b0577b72586e5604ff

Contents?: true

Size: 501 Bytes

Versions: 6

Compression:

Stored size: 501 Bytes

Contents

<%
  columns_hash = {}
  heading_columns = show_columns_for(associated.first, column, columns_hash)
%>
<table>
  <thead>
    <tr>
<% heading_columns.each_column(skip_groups: true) do |column| -%>
      <th><%= show_label(column) %></th>
<% end -%>
    </tr>
  </thead>
  <tbody>
<% associated.each do |record| -%>
    <%= render 'show_horizontal_record', record: record, parent_record: parent_record, columns: show_columns_for(associated.first, column, columns_hash) %>
<% end -%>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_scaffold-4.0.2 app/views/active_scaffold_overrides/_show_association_horizontal.html.erb
active_scaffold-4.0.1 app/views/active_scaffold_overrides/_show_association_horizontal.html.erb
active_scaffold-4.0.0 app/views/active_scaffold_overrides/_show_association_horizontal.html.erb
active_scaffold-4.0.0.rc3 app/views/active_scaffold_overrides/_show_association_horizontal.html.erb
active_scaffold-4.0.0.rc2 app/views/active_scaffold_overrides/_show_association_horizontal.html.erb
active_scaffold-4.0.0.rc1 app/views/active_scaffold_overrides/_show_association_horizontal.html.erb