Sha256: 0f95a73b173a13608545a70b65b1aa750b3491ec747841f49ce8786721816f69
Contents?: true
Size: 1.3 KB
Versions: 15
Compression:
Stored size: 1.3 KB
Contents
<%= render :partial => 'spree/admin/shared/stock_sub_menu' %> <% content_for :page_title do %> <%= Spree.t(:new_stock_transfer) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, icon: 'arrow-left' %> </li> <% end %> <%= form_for [:admin, @stock_transfer] do |f| %> <fieldset class="no-border-top"> <%= f.field_container :source_location do %> <%= f.label nil, Spree.t(:source_location) %> <%= f.select :source_location_id, options_from_collection_for_select(@stock_locations, :id, :name), {include_blank: true}, {class: 'select2 fullwidth', "data-placeholder" => Spree.t(:select_a_stock_location)} %> <%= f.error_message_on :source_location %> <% end %> <%= f.field_container :description do %> <%= f.label nil, Spree.t(:description) %> <%= f.text_field :description, maxlength: 255, size: 0, class: 'fullwidth' %> <%= f.error_message_on :description %> <% end %> <div class="filter-actions actions" data-hook="buttons"> <%= button Spree.t(:continue), 'arrow-right' %> <span class="or"><%= Spree.t(:or) %></span> <%= link_to_with_icon 'remove', Spree.t('actions.cancel'), admin_stock_transfers_path, class: 'button' %> </div> </fieldset> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems