Sha256: 00f2ac4b3a8a0df552ead18faedb2f7a6bec64288e1f67e8b4131d038726fdd7

Contents?: true

Size: 777 Bytes

Versions: 17

Compression:

Stored size: 777 Bytes

Contents

<% if resources_instance_variable.any? %>
<table class="list" id="<%= resource_handler.resources_name %>_list">
  <thead>
    <tr>
    <% resource_handler.attributes.each do |attribute| %>
      <th class="<%= attribute[:type] %> <%= attribute[:name] %>">
        <%= sortable_column(
          resource_handler.model.human_attribute_name(attribute[:name]),
          :column => sortable_resource_header_column(attribute),
          :route_proxy => resource_url_proxy
        ) %>
      </th>
    <% end %>
      <th class="tools"></th>
    </tr>
  </thead>
  <tbody>
    <%= render_resources %>
  </tbody>
</table>
<% elsif params[:query] %>
<p><%= _t('Nothing found') %></p>
<% end %>

<%= paginate resources_instance_variable, scope: resource_url_proxy, theme: 'alchemy' %>

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/resources/_table.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/resources/_table.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/resources/_table.html.erb