Sha256: 4101d5f96c7c67317f17e0e2f67f0e280576499e746d1ec70bc5ec4a93c61eb4

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

<% 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 :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), 'arrow-right' %>
      <%= link_to_with_icon 'remove', Spree.t('actions.cancel'), admin_stock_transfers_path, class: 'button' %>
    </div>
  </fieldset>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.3.1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.3.0 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/stock_transfers/new.html.erb