Sha256: 444b51f97578f1e661f055d09426a8bdbe33d2633d2c1260bce83ca7ccacf395
Contents?: true
Size: 585 Bytes
Versions: 55
Compression:
Stored size: 585 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" disabled><%= t('spree.add_line_item') %></button> <% end %> <%= render "spree/admin/orders/order_details", { order: order } %> </div>
Version data entries
55 entries across 55 versions & 2 rubygems