Sha256: 99715cd024d36b3746b0d9ac92ea110d0483a5a18d1f6bd43bb9035f9a2c7aaf

Contents?: true

Size: 1021 Bytes

Versions: 6

Compression:

Stored size: 1021 Bytes

Contents

<% @body_id = 'cart' %>

<h1><%= t("shopping_cart")%></h1>

<% 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? -%>
  <div id="subtotal">
    <h3><%= "#{t("subtotal")}: #{order_price(@order)}" %></h3>
    <div class="links">
      <%= 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' %>
    </div>
  </div>
  <% end -%>
  <p><%=link_to t("continue_shopping"), products_path, :class => 'button continue' %></p>
  <% unless @order.line_items.empty? -%>
  <p id="clear_cart_link">
    <%= link_to t("empty_cart"), object_url, :method => :delete, :class => 'button empty'  %>
  </p>
  <% end -%>
<% end -%>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 app/views/orders/edit.html.erb
spree-0.9.4 app/views/orders/edit.html.erb
spree-0.9.3 app/views/orders/edit.html.erb
spree-0.9.2 app/views/orders/edit.html.erb
spree-0.9.1 app/views/orders/edit.html.erb
spree-0.9.0 app/views/orders/edit.html.erb