<%= render partial: 'spree/shared/error_messages', locals: { target: @order } %>
<%= form_for @order, url: spree.update_checkout_path(@order.state), html: { id: "checkout_form_#{@order.state}", class: "w-100 d-lg-flex align-items-lg-baseline flex-wrap position-relative", data: { turbo: false } } do |form| %>
<%= form.hidden_field :state_lock_version %>
<%= render @order.state, form: form %>
<% unless @order.confirm? %>
<%= render partial: 'summary', locals: { order: @order } %>
<% submit_label_key = @order.confirm? ? :place_order : :save_and_continue %>
<%= submit_tag Spree.t(submit_label_key), class: 'btn btn-primary text-uppercase font-weight-bold w-100 checkout-content-save-continue-button' %>
<% end %>
<% end %>