Sha256: ef42f37cecfb94e242733b97fd8af9fd93f318011b4c1752aed466216c503a37

Contents?: true

Size: 1.15 KB

Versions: 23

Compression:

Stored size: 1.15 KB

Contents

<%= csrf_meta_tags %>
<% content_for :page_actions do %>
  <% if can?(:fire, @order) %>
    <li><%= event_links %></li>
  <% end %>
  <% if can?(:resend, @order) %>
    <li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), :method => :post, :icon => 'icon-email' %></li>
  <% end %>
  <% if can?(:admin, Spree::Order) %>
    <li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'icon-arrow-left' %></li>
  <% end %>
<% end %>

<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Order Details' } %>

<div data-hook="admin_order_edit_header">
  <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
</div>

<%= render :partial => 'add_product' if can?(:update, @order) %>

<% if @order.line_items.empty? %>
  <div class="no-objects-found">
    <%= Spree.t(:your_order_is_empty_add_product)%>
  </div>
<% end %>

<div data-hook="admin_order_edit_form">
  <div id="order-form-wrapper">
    <%= render :partial => 'form', :locals => { :order => @order } %>
  </div>
</div>

<% content_for :head do %>
  <%= javascript_tag 'var expand_variants = true;' %>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
spree_backend-2.1.12 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.11 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.10 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.13 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.9 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.8 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.12 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.7 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.11 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.10 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.6 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.5 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.9 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.4 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.8 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.3 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.7 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.2 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.0.6 app/views/spree/admin/orders/edit.html.erb
spree_backend-2.1.1 app/views/spree/admin/orders/edit.html.erb