Sha256: 5538c5e100204d8dc9b3ce56236b4b80fe2f7d64647e433c6799ba75262ef751

Contents?: true

Size: 1.16 KB

Versions: 11

Compression:

Stored size: 1.16 KB

Contents

<div data-hook="admin_orders_index_search">
  <%= form_for :variant_search, url: form_path, method: :get do |f| %>
    <div class="row">
      <div class="field-block col-3">
        <div class="field">
          <%= label_tag nil, Spree::StockLocation.model_name.human %>
          <%= select_tag :stock_location_id, options_from_collection_for_select(stock_locations, :id, :name, params[:stock_location_id]), { include_blank: true, class: 'custom-select fullwidth', "data-placeholder" => Spree.t(:select_a_stock_location) } %>
        </div>
      </div>
      <div class="<%= if content_for?(:sidebar) then 'col-6' else 'col-9' end %>">
        <div data-hook="add_product_name" class="field">
          <%= label_tag :add_variant_id, Spree::Variant.model_name.human %>
          <%= text_field_tag :variant_search_term, params[:variant_search_term], class: "fullwidth", placeholder: Spree.t(:variant_search_placeholder) %>
        </div>
      </div>
    </div>

    <div class="clearfix"></div>

    <div class="actions filter-actions">
      <div data-hook="admin_orders_index_search_buttons">
        <%= button Spree.t(:filter_results) %>
      </div>
    </div>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.4.1 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.3.1 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.4.0 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.3.0 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.3.0.rc3 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.3.0.rc2 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.3.0.rc1 app/views/spree/admin/shared/_variant_search.html.erb
solidus_backend-2.3.0.beta1 app/views/spree/admin/shared/_variant_search.html.erb