Sha256: 0e9dff51bb7f8ac128dc3e56c155ae1eee75fbe6946fca7f112a8cccba850ad2

Contents?: true

Size: 806 Bytes

Versions: 5

Compression:

Stored size: 806 Bytes

Contents

<tr
  class="bg-white hover:bg-blue-50 hover:shadow-row hover:z-[21] 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

5 entries across 5 versions & 1 rubygems

Version Path
avo-2.1.2.pre2 app/components/avo/index/table_row_component.html.erb
avo-2.1.2.pre1 app/components/avo/index/table_row_component.html.erb
avo-2.1.1 app/components/avo/index/table_row_component.html.erb
avo-2.1.0 app/components/avo/index/table_row_component.html.erb
avo-2.0.0 app/components/avo/index/table_row_component.html.erb