Sha256: 986198fec1a6fa10d7137030d27b109128c781884e16a427a8f16e88cb9e6a4d

Contents?: true

Size: 886 Bytes

Versions: 2

Compression:

Stored size: 886 Bytes

Contents

<div data-hook="store-form-container">
  <%= form_for [:admin, order], method: :put, url: set_store_admin_order_url do |f| %>
    <fieldset>
    <div data-hook="admin_order_store_field">
      <%= f.field_container :store_id, class: ['form-group'] do %>
        <%= f.label :store_id, Spree.t(:store) %>
        <%= f.collection_select(:store_id, @stores, :id, :name, { include_blank: false }, { class: "select2" }) %>
        <%= f.error_message_on :store_id %>
      <% end %>
    </div>
    <div class="form-actions" data-hook="buttons">
      <%= button Spree.t('actions.update'), 'recycle.svg', 'submit', {class: 'btn-success', data: { disable_with: "#{ Spree.t(:saving) }..." }} %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), edit_admin_order_url(order), icon: 'cancel.svg' %>
    </div>
    <fieldset>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_backend-4.2.0.rc1 app/views/spree/admin/orders/_store_form.html.erb
spree_backend-4.2.0.beta app/views/spree/admin/orders/_store_form.html.erb