Sha256: 8597949d668cbe28655312bbe80e57c590fe5804f05d9db689ab0146115fcb1b

Contents?: true

Size: 977 Bytes

Versions: 53

Compression:

Stored size: 977 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="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>

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

    <div class="actions filter-actions">
      <%= f.button :search %>
    </div>
  <% end %>
<% end %>

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
solidus_backend-2.10.5 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.10.3 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.10.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.6 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.8.6 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.10.1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.5 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.10.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.4 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.6.6 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.7.4 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.8.5 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.3 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.10.0.beta1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.7.3 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.6.5 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.5.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.9.0 app/views/spree/admin/variants/_table_filter.html.erb