Sha256: 5c122bed8d9b2824da28ba56cb6880130929a4ed8ea53468d94c95248cffd44c

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 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('.create_order'),
        href: spree.new_admin_order_path,
        icon: "add-line",
      ) %>
    </div>
  </header>

  <%= render component('ui/table').new(
    id: 'orders-list',
    model_class: Spree::Order,
    rows: @page.records,
    fade_row_proc: fade_row_proc,
    search_key: SolidusAdmin::Config[:order_search_key],
    search_url: solidus_admin.orders_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/orders/index/component.html.erb
solidus_admin-0.0.1 app/components/solidus_admin/orders/index/component.html.erb