Sha256: 76a2ada7b2089ab16b696254dc8f0f5a0e8e7430fe3766165391d5b333d740bf

Contents?: true

Size: 656 Bytes

Versions: 11

Compression:

Stored size: 656 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] %>">
        <%= resource_handler.model.human_attribute_name(attribute[:name]) %>

      </th>
    <% end %>
      <th class="tools"></th>
    </tr>
  </thead>
  <tbody>
    <%= render_resources %>
  </tbody>
</table>
<% elsif search_filter_params[:q].present? %>
<p><%= Alchemy.t('Nothing found') %></p>
<% end %>

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy-ajax-form-1.2.1 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-2.1.0 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-2.0.0 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.2.0 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.1.5 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.1.3 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.1.2 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.1.1 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.1.0 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.0.1 app/views/alchemy/admin/ajax_forms/_table.html.erb
alchemy-ajax-form-1.0.0 app/views/alchemy/admin/ajax_forms/_table.html.erb