<%= form_tag transfer_stock_admin_stock_locations_path do %>
<%= Spree.t(:move_stock_between_locations)%>
<%= label_tag :stock_location_from_id, Spree.t(:transfer_from_location) %> <%= select_tag :stock_location_from_id, options_from_collection_for_select(@stock_locations, :id, :name), class: 'select2 fullwidth' %>
<%= label_tag :stock_location_to_id, Spree.t(:transfer_to_location) %> <%= select_tag :stock_location_to_id, options_from_collection_for_select(@stock_locations, :id, :name), class: 'select2 fullwidth' %>
<%= label_tag 'variant_id', Spree::Variant.model_name.human %> <%= select_tag :variant_id, options_from_collection_for_select(@variants, :id, :name_and_sku), class: 'select2 fullwidth' %>
<%= label_tag 'quantity', Spree::StockMovement.human_attribute_name(:quantity) %> <%= number_field_tag :quantity, 1, class: 'fullwidth' %>
<%= button Spree.t(:transfer_stock), 'plus' %> <%= link_to_with_icon 'remove', Spree.t('actions.cancel'), collection_url, :class => 'button' %>
<% end %>