Sha256: ed248f152042b69f40074d8d5c2bf0698f67938cec3b6696a40d68b2c9a6711c
Contents?: true
Size: 1.75 KB
Versions: 4
Compression:
Stored size: 1.75 KB
Contents
<%= form_tag transfer_stock_admin_stock_locations_path do %> <fieldset> <legend align="center"><%= Spree.t(:move_stock_between_locations)%></legend> <div data-hook="admin_stock_movements_form_fields" class="row"> <div class="col-xs-3"> <div class="field" id="stock_movement_transfer_from_field"> <%= 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' %> </div> </div> <div class="col-xs-3"> <div class="field" id="stock_movement_transfer_to_field"> <%= 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' %> </div> </div> <div class="col-xs-3"> <div class="field" id="stock_movement_variant_id_field"> <%= 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' %> </div> </div> <div class="col-xs-3"> <div class="field" id="stock_movement_quantity_field"> <%= label_tag 'quantity', Spree::StockMovement.human_attribute_name(:quantity) %> <%= number_field_tag :quantity, 1, class: 'fullwidth' %> </div> </div> </div> <div class="form-buttons filter-actions actions" data-hook="buttons"> <%= button Spree.t(:transfer_stock) %> <%= link_to Spree.t('actions.cancel'), collection_url, :class => 'button' %> </div> </fieldset> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems