Sha256: 70df182425064cc0277fd52dec8bbd681cb46c7f4cb73cb322195226e3de711d

Contents?: true

Size: 955 Bytes

Versions: 1

Compression:

Stored size: 955 Bytes

Contents

<% if active_scaffold_config.list.messages_above_header %>
<table>
  <tbody>
    <tr>
      <td class="messages-container">
        <%= render 'list_messages_content' %>
      </td>
    </tr>
  </tbody>
</table>
<% end %>
<table>
  <thead>
    <tr>
      <% columns = list_columns %>
      <%= render 'list_column_headings', columns: columns %>
    </tr>
  </thead>
  <%= render 'list_messages', columns: columns %>
  <tbody class="records" id="<%= active_scaffold_tbody_id %>" data-refresh-record="<%= url_for(params_for(action: :index, id: '--ID--')) %>">
    <% if !@page.empty? -%>
      <%= render partial: 'list_record', collection: @page.items, locals: {hidden: false, columns: columns, action_links: active_scaffold_config.action_links.member} %>
    <% end -%>
  </tbody>
  <% if columns.any?(&:calculation?) -%>
  <tfoot>  
    <%= render 'list_calculations', columns: columns %>
  </tfoot>
  <% end -%>
</table>
<%= render 'list_pagination' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_scaffold-4.0.0.rc2 app/views/active_scaffold_overrides/_list.html.erb