Sha256: 9b196fd24b6ed93512ba96c325b13f312d5481068476ce23a83fa59819a9ce2c

Contents?: true

Size: 601 Bytes

Versions: 8

Compression:

Stored size: 601 Bytes

Contents

<div data-hook="admin_order_form_fields" class="js-order-cart-page" data-order-number="<%= @order.number %>">
  <% if @line_item.try(:errors).present? %>
      <%= render partial: 'spree/shared/error_messages', locals: { target: @line_item } %>
  <% end %>

  <%= render partial: "spree/admin/orders/line_items", locals: { order: order } %>

  <% if can?(:update, @order) && can?(:create, Spree::LineItem) %>
    <button class="js-add-line-item btn btn-primary" disabled><%= t('spree.add_line_item') %></button>
  <% end %>

  <%= render "spree/admin/orders/order_details", { order: order } %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
solidus_backend-2.9.6 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.5 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.4 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.3 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.2 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.1 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.0 app/views/spree/admin/orders/_line_items_edit_form.html.erb
solidus_backend-2.9.0.rc.1 app/views/spree/admin/orders/_line_items_edit_form.html.erb