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_devise_token_auth-2.8.0.alpha.6 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.5 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.4 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.3 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.7.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.6.1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.6.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.6.0.rc1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.5.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.5.0.rc1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.5.0.beta2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.5.0.beta1 app/views/spree/admin/variants/_table_filter.html.erb