Sha256: 054a93492691cb1a77f3a59fb7b3c2ed87f3550aaad5ce318226d65a98015294

Contents?: true

Size: 865 Bytes

Versions: 19

Compression:

Stored size: 865 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 %>
>
  <% 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

19 entries across 19 versions & 1 rubygems

Version Path
avo-2.5.2.pre.7 app/components/avo/index/table_row_component.html.erb
avo-2.5.2.pre.4 app/components/avo/index/table_row_component.html.erb
avo-2.5.2.pre.3 app/components/avo/index/table_row_component.html.erb
avo-2.5.2.pre.2 app/components/avo/index/table_row_component.html.erb
avo-2.5.2.pre.1 app/components/avo/index/table_row_component.html.erb
avo-2.5.1 app/components/avo/index/table_row_component.html.erb
avo-2.5.0 app/components/avo/index/table_row_component.html.erb
avo-2.4.1 app/components/avo/index/table_row_component.html.erb
avo-2.4.0 app/components/avo/index/table_row_component.html.erb
avo-2.3.1.pre.6 app/components/avo/index/table_row_component.html.erb
avo-2.3.1.pre.5 app/components/avo/index/table_row_component.html.erb
avo-2.3.1.pre.4 app/components/avo/index/table_row_component.html.erb
avo-2.3.1.pre.3 app/components/avo/index/table_row_component.html.erb
avo-2.3.1.pre.2 app/components/avo/index/table_row_component.html.erb
avo-2.3.1.pre.1 app/components/avo/index/table_row_component.html.erb
avo-2.3.0 app/components/avo/index/table_row_component.html.erb
avo-2.2.2 app/components/avo/index/table_row_component.html.erb
avo-2.2.1 app/components/avo/index/table_row_component.html.erb
avo-2.2.0 app/components/avo/index/table_row_component.html.erb