Sha256: 4af959cbf2b53b93e44c1015530e722d0113afe1de94d7d5cfe4d93391b7bcbf

Contents?: true

Size: 695 Bytes

Versions: 7

Compression:

Stored size: 695 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) %>
        <% end %>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avo-2.11.1 app/components/avo/index/resource_table_component.html.erb
avo-2.11.1.pre.2 app/components/avo/index/resource_table_component.html.erb
avo-2.11.1.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.11.0 app/components/avo/index/resource_table_component.html.erb
avo-2.10.3.pre.1 app/components/avo/index/resource_table_component.html.erb
avo-2.10.2 app/components/avo/index/resource_table_component.html.erb
avo-2.10.0 app/components/avo/index/resource_table_component.html.erb