Sha256: 396f509758d15c41cc707620bd349c7063405ef512823731c1768e5128af2e75

Contents?: true

Size: 673 Bytes

Versions: 4

Compression:

Stored size: 673 Bytes

Contents

.effective-cart
  %table.table
    %thead
      %tr
        %th.quantity Qty
        %th.item Item
        %th.price Price
    %tbody
      - cart.cart_items.each do |item|
        %tr
          %td.quantity
            = item.quantity
          %td.item
            = item.title.html_safe
            = ' - '
            = link_to_remove_from_cart(item)
          %td.price
            = price_to_currency(item.price)
      - if cart.blank?
        %tr
          %td.quantity
          %td.item No items in cart.
          %td.price
    %tfoot
      %tr
        %th.quantity
        %th.subtotal Subtotal
        %td.price.subtotal-price= price_to_currency(cart.subtotal)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
effective_orders-4.0.0beta4 app/views/effective/carts/_cart.html.haml
effective_orders-4.0.0beta3 app/views/effective/carts/_cart.html.haml
effective_orders-4.0.0beta2 app/views/effective/carts/_cart.html.haml
effective_orders-4.0.0beta1 app/views/effective/carts/_cart.html.haml