Sha256: 77bae98f7b55f490f031fb76075d3922c22ace33fafe87a802489e08aca4e0ec

Contents?: true

Size: 783 Bytes

Versions: 6

Compression:

Stored size: 783 Bytes

Contents

<tr
  class="hover:bg-sky-50 hover:shadow-row relative z-20 border-b"
  <%== item_selector_init @resource %>
>
  <td class="w-10">
    <div class="flex justify-center h-full">
      <%== item_selector_input floating: false %>
    </div>
  </td>
  <% @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

6 entries across 6 versions & 1 rubygems

Version Path
avo-1.25.2 app/components/avo/index/table_row_component.html.erb
avo-1.25.1 app/components/avo/index/table_row_component.html.erb
avo-1.25.0 app/components/avo/index/table_row_component.html.erb
avo-1.24.2 app/components/avo/index/table_row_component.html.erb
avo-1.24.1 app/components/avo/index/table_row_component.html.erb
avo-1.24.0 app/components/avo/index/table_row_component.html.erb