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