Sha256: 667bed1e0fab7426fc7e97147b14d6c1da42c2a3137df7b453bd0607ce895d74

Contents?: true

Size: 927 Bytes

Versions: 1

Compression:

Stored size: 927 Bytes

Contents

<div class="confirm-step">
  <fieldset class="confirm-step__info">
    <legend>
      <%= t('spree.confirm') %>
    </legend>

    <%= render 'spree/components/orders/order_details', order: @order %>
  </fieldset>

  <% SolidusStarterFrontend::Config[:require_terms_and_conditions_acceptance].tap do |requires_acceptance| %>
    <% if requires_acceptance %>
      <div class="terms_and_conditions">
        <%= 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') %>
      </div>
    <% end %>

    <%= render(
      "spree/components/buttons/button_primary",
      content: t('spree.place_order'),
      disabled: requires_acceptance,
      name: :commit,
      type: :submit
    ) %>
  <% end %>
</div>

<script>
  Solidus.disableSaveOnClick();
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/checkout/steps/_confirm_step.html.erb