<%= t('spree.confirm') %> <%= render partial: 'spree/shared/order_details', locals: { order: @order } %>

<% Spree::Frontend::Config[:require_terms_and_conditions_acceptance].tap do |requires_acceptance| %> <% if requires_acceptance %>
<%= render partial: "spree/checkout/terms_and_conditions" %>
<%= check_box_tag :accept_terms_and_conditions, 'accepted', false %> <%= label_tag :accept_terms_and_conditions, t('spree.agree_to_terms_of_service') %>
<% end %> <%= submit_tag t('spree.place_order'), disabled: requires_acceptance, class: "continue button primary #{ 'disabled' if requires_acceptance }" %> <% end %>