<%= title %>
<%= link_to(
"[#{t('spree.actions.edit')}]",
checkout_state_path(:delivery),
{ class: 'order-shipments__edit' }
) unless @order.completed? %>
<% order.shipments.each do |shipment| %>
-
<%= t(
'spree.shipment_details',
stock_location: shipment.stock_location.name,
shipping_method: shipment.selected_shipping_rate.name
) %>
<% end %>
<%= render 'spree/shared/shipment_tracking', order: order if order.shipped? %>