Sha256: 43a11b1a89f55900b8955fa10064b4270f3704444be251782e4795b2679ae6c7

Contents?: true

Size: 834 Bytes

Versions: 1

Compression:

Stored size: 834 Bytes

Contents

<div class="order-page">
  <h1 class="order-page__title">
    <%= accurate_title %>
  </h1>

  <% if order_just_completed?(@order) %>
    <p class="order-page__completed">
      <%= t('spree.thank_you_for_your_order') %>
    </p>
  <% end %>

  <fieldset class="order-page__info" id="order_summary">
    <legend>
      <%= t('spree.order_number', number: @order.number) %>
    </legend>

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

  <div class="order-page__actions">
    <%= link_to t('spree.back_to_store'), spree.root_path, class: "button" %>

    <% unless order_just_completed?(@order) %>
      <% if try_spree_current_user && respond_to?(:account_path) %>
        <%= link_to t('spree.my_account'), spree.account_path, class: "button" %>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/orders/show.html.erb