Sha256: 50e7b5358e9c738d7afb99caf22e0acaf6c4ff09466c520c43e0c3114d6f88f0

Contents?: true

Size: 1.31 KB

Versions: 6

Compression:

Stored size: 1.31 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(@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 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

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.1.4 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.1.3 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.1.2 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.1.1 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.1.0 app/views/spree/admin/stock_transfers/new.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/stock_transfers/new.html.erb