1 <div class="cart-title">Your Cart</div>
3 <%= render(:partial => 'cart_item', :collection => cart.items.sort_by {|item| item.product.title}) %>
5 <tr class="total-line">
6 <td colspan="2">Total</td>
7 <td class="total-cell"><%= number_to_currency(cart.total_price, :unit => "£") %></td>
11 <% unless @during_checkout %>
12 <div id="checkout_buttons">
13 <% form_remote_tag :url => {:action => 'checkout'} do %>
14 <%= submit_tag "Checkout" %>
17 <% form_remote_tag :url => {:action => 'empty_cart'} do %>
18 <%= submit_tag "Empty cart" %>