Sha256: 4332ccb51ed4f5786f416bd1b2f5734efbc46c5babf58cde0d427ab5e56534de

Contents?: true

Size: 709 Bytes

Versions: 10

Compression:

Stored size: 709 Bytes

Contents

<% if resources_instance_variable.any? %>
<table class="list" id="<%= resource_handler.resources_name %>_list">
  <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>
  <%= render_resources %>
</table>
<% elsif params[:query] %>
<p><%= _t('Nothing found') %></p>
<% end %>

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/resources/_table.html.erb