<% if order.has_step?("address") %>
<%= t(:shipping_address) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
<%= order.ship_address %>
<%= t(:billing_address) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
<%= order.bill_address %>
<% if @order.has_step?("delivery") %>
<%= t(:shipping_method) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:delivery) unless @order.completed? %>
<%= order.shipping_method.name %>
<% end %>
<% end %>
<%= t(:payment_information) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:payment) unless @order.completed? %>
<% unless order.credit_cards.empty? %>
<% unless (cc_type = order.credit_cards.first.cc_type).blank? %>
<%= image_tag "credit_cards/icons/#{order.credit_cards.first.cc_type}.png" %>
<% end %>
<%= t(:ending_in)%> <%= order.credit_cards.first.last_digits %>
<%= order.credit_cards.first.first_name %>
<%= order.credit_cards.first.last_name %>
<% end %>