Sha256: b1155255d1b8d936a75624cf29ffc20168931ee797f766a68de987f7db15b027

Contents?: true

Size: 1.17 KB

Versions: 20

Compression:

Stored size: 1.17 KB

Contents

<% admin_breadcrumb(link_to Spree.t(:stock), spree.admin_stock_items_path) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::StockTransfer), spree.admin_stock_transfers_path) %>
<% admin_breadcrumb(Spree.t(:new_stock_transfer)) %>


<% content_for :page_actions do %>
<% end %>

<%= form_for [:admin, @stock_transfer] do |f| %>
  <fieldset class="no-border-top">
    <%= f.field_container :source_location do %>
      <%= f.label :source_location_id %>
      <%= f.select :source_location_id, options_from_collection_for_select(@source_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 :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) %>
      <%= link_to Spree.t('actions.cancel'), admin_stock_transfers_path, class: 'button' %>
    </div>
  </fieldset>
<% end %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
solidus_backend-2.2.2 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.1.1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.0.3 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.4.2 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.0.2 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.4.1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.2.1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.2.0 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.2.0.rc1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.2.0.beta1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.1.0 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.0.1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.0.0 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.4.0 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/stock_transfers/new.html.erb