Sha256: 4dfd738817587596a3abe6cc402ccc68470fb730ebe6174eeb9d3affb069b148

Contents?: true

Size: 865 Bytes

Versions: 17

Compression:

Stored size: 865 Bytes

Contents

<tr
  class="bg-white hover:bg-gray-50 hover:shadow-row hover:z-[21] relative z-20 border-b"
  <%== item_selector_init @resource %>
>
  <% if @resource.record_selector %>
    <td class="w-10">
      <div class="flex justify-center h-full">
        <%== item_selector_input floating: false %>
      </div>
    </td>
  <% end %>
  <% @resource.get_fields(reflection: @reflection).each_with_index do |field, index| %>
    <%= render field.component_for_view(:index).new(field: field, resource: @resource, index: index, parent_model: @parent_model) %>
  <% end %>
  <td class="text-right whitespace-nowrap px-2">
    <div class="flex items-center justify-end flex-grow-0 h-full w-full">
      <%= render(Avo::Index::ResourceControlsComponent.new(resource: @resource, reflection: @reflection, parent_model: @parent_model, view_type: :table)) %>
    </div>
  </td>
</tr>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
avo-2.9.2.pre1 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre7 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre6 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre5 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre4 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre3 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre2 app/components/avo/index/table_row_component.html.erb
avo-2.9.1.pre1 app/components/avo/index/table_row_component.html.erb
avo-2.9.0 app/components/avo/index/table_row_component.html.erb
avo-2.8.0 app/components/avo/index/table_row_component.html.erb
avo-2.7.1.pre.1 app/components/avo/index/table_row_component.html.erb
avo-2.7.0 app/components/avo/index/table_row_component.html.erb
avo-2.6.1.pre.2 app/components/avo/index/table_row_component.html.erb
avo-2.6.1.pre.1 app/components/avo/index/table_row_component.html.erb
avo-2.6.0 app/components/avo/index/table_row_component.html.erb
avo-2.5.2.pre.6 app/components/avo/index/table_row_component.html.erb
avo-2.5.2.pre.5 app/components/avo/index/table_row_component.html.erb