Sha256: cde96dedcb33630aa51173a3e859168378f38f8bee9e8b7be78c5fa32b257e9b
Contents?: true
Size: 706 Bytes
Versions: 82
Compression:
Stored size: 706 Bytes
Contents
<div class="w-full"> <% if @resources.present?%> <table class="w-full px-4 overflow-hidden"> <%= render partial: 'avo/partials/table_header', locals: {fields: @resource.get_fields(reflection: @reflection)} %> <tbody> <% @resources.each_with_index do |resource, index| %> <% cache_if Avo.configuration.cache_resources_on_index_view, resource.cache_hash(@parent_model) do %> <%= render Avo::Index::TableRowComponent.new(resource: resource, reflection: @reflection, parent_model: @parent_model) %> <% end %> <% end %> </tbody> </table> <% else %> <%= helpers.empty_state @resource.name.downcase.pluralize %> <% end %> </div>
Version data entries
82 entries across 82 versions & 1 rubygems