Sha256: 969f260f91f0d8decad4034749eeb51f0062640c4fbb15871441ca0465762271

Contents?: true

Size: 950 Bytes

Versions: 17

Compression:

Stored size: 950 Bytes

Contents

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

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

    <% if product.variants.only_deleted.any? %>
      <div class="field checkbox three columns omega">
        <%= label_tag :deleted do %>
          <%= check_box_tag :deleted, "on", params[:deleted] == "on" %>
          <%= t('.show_deleted') %>
        <% end %>
      </div>
    <% end %>

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
solidus_backend-2.0.3 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.4.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.3.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.0.2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.4.1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.0.1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.0.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.4.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.3.1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.3.0 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/variants/_table_filter.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/variants/_table_filter.html.erb