% @body_id = 'cart' %>
<%= t("shopping_cart")%>
<% form_for(@order, :url => object_url, :html => { :method => :put, :id => 'updatecart' }) do |order_form| %>
<%= render :partial => 'form', :locals => {:order_form => order_form} %>
<% unless @order.line_items.empty? -%>
<%= "#{t("subtotal")}: #{order_price(@order)}" %>
<%= link_to image_tag('/images/update.png') + t("update"), '#', :class => 'button checkout primary', :onclick => "$('form#updatecart').submit(); return false;" %>
<%= link_to image_tag('/images/checkout.png') + t("checkout"), edit_order_checkout_url(@order), :class => 'button checkout primary' %>
<% end -%>
<%=link_to t("continue_shopping"), products_path, :class => 'button continue' %>
<% unless @order.line_items.empty? -%>
<%= link_to t("empty_cart"), object_url, :method => :delete, :class => 'button empty' %>
<% end -%>
<% end -%>