Sha256: c46fc1a7dc4ff504471cdbba192bd64203fec3cf4234e745f2fc1fccbf6e29c1

Contents?: true

Size: 1006 Bytes

Versions: 1

Compression:

Stored size: 1006 Bytes

Contents

<% content_for :table_filter_title do %>
  <%= t('spree.search') %>
<% end %>

<% content_for :table_filter do %>
  <%= form_for :variant_search, url: spree.admin_product_variants_path(product), method: :get do |f| %>
    <div class="row">
      <div class="col-10">
        <div data-hook="admin_variants_index_search" class="field">
          <%= f.label :variant_search_term, t('spree.variant_search_placeholder') %>
          <%= text_field_tag :variant_search_term, params[:variant_search_term], class: "fullwidth", placeholder: t('spree.variant_search_placeholder') %>
        </div>
      </div>

      <div class="col-2">
        <div class="field checkbox">
          <label>
            <%= check_box_tag :deleted, "on", params[:deleted] == "on" %>
            <%= t('.show_deleted') %>
          </label>
        </div>
      </div>
    </div>

    <div class="actions filter-actions">
      <%= button_tag t('spree.filter_results'), class: 'btn btn-primary' %>
    </div>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_backend-3.0.8 app/views/spree/admin/variants/_table_filter.html.erb