Sha256: 72b9a99d31797d573f8283899ce61520e330745856d1ded7ee7ae96c018dd66f

Contents?: true

Size: 730 Bytes

Versions: 22

Compression:

Stored size: 730 Bytes

Contents

<div class="w-full ">
  <table class="w-full px-4 bg-white" data-resource-name='<%= @resource.model_key %>' data-controller='item-select-all'>
    <%= render partial: 'avo/partials/table_header', locals: {fields: @resource.get_fields(reflection: @reflection, only_root: true)} %>
    <tbody class="divide-y">
      <% @resources.each_with_index do |resource, index| %>
        <% cache_if Avo.configuration.cache_resources_on_index_view, resource.cache_hash(@parent_model), expires_in: 1.day do %>
          <%= render Avo::Index::TableRowComponent.new(resource: resource, reflection: @reflection, parent_model: @parent_model, parent_resource: @parent_resource) %>
        <% end %>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
avo-2.13.6.pre.2 app/components/avo/index/resource_table_component.html.erb
avo-2.13.6.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.13.5.pre.2 app/components/avo/index/resource_table_component.html.erb
avo-2.13.5.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.13.4.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.13.3.pre.4 app/components/avo/index/resource_table_component.html.erb
avo-2.13.3.pre.3 app/components/avo/index/resource_table_component.html.erb
avo-2.13.3.pre.2 app/components/avo/index/resource_table_component.html.erb
avo-2.13.3.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.13.2.pre.2 app/components/avo/index/resource_table_component.html.erb
avo-2.13.2.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.13.1 app/components/avo/index/resource_table_component.html.erb
avo-2.13.0 app/components/avo/index/resource_table_component.html.erb
avo-2.12.1.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.12.0 app/components/avo/index/resource_table_component.html.erb
avo-2.11.3.pre.3 app/components/avo/index/resource_table_component.html.erb
avo-2.11.3.pre.2 app/components/avo/index/resource_table_component.html.erb
avo-2.11.3.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.11.2.pre.3 app/components/avo/index/resource_table_component.html.erb
avo-2.11.2.pre.2 app/components/avo/index/resource_table_component.html.erb