Sha256: 0868da900de710815f6fc507f2fcd60d76401ed5ec482780447802485ff7ebd1

Contents?: true

Size: 825 Bytes

Versions: 2

Compression:

Stored size: 825 Bytes

Contents

<div class="<%= stimulus_id %> px-4">
  <header class="py-6 flex items-center">
    <h1 class="body-title">
      <%= title %>
    </h1>

    <div class="ml-auto flex gap-2 items-center">
      <%= render component("feedback").new %>
      <%= render component("ui/button").new(
        tag: :a,
        text: t('.add_product'),
        href: spree.new_admin_product_path,
        icon: "add-line",
      ) %>
    </div>
  </header>

  <%= render component('ui/table').new(
    id: 'products-list',
    model_class: Spree::Product,
    rows: @page.records,
    search_key: SolidusAdmin::Config[:product_search_key],
    search_url: solidus_admin.products_path,
    batch_actions: batch_actions,
    filters: filters,
    columns: columns,
    prev_page_link: prev_page_link,
    next_page_link: next_page_link,
  ) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_admin-0.0.2 app/components/solidus_admin/products/index/component.html.erb
solidus_admin-0.0.1 app/components/solidus_admin/products/index/component.html.erb