Sha256: d04ec7c36b34f56d879540ee91b9d3bfc995168671c5021aaeb2c5832a91f04f

Contents?: true

Size: 674 Bytes

Versions: 14

Compression:

Stored size: 674 Bytes

Contents

.effective-order
  %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

14 entries across 14 versions & 1 rubygems

Version Path
effective_orders-3.2.3 app/views/effective/carts/_cart.html.haml
effective_orders-3.2.2 app/views/effective/carts/_cart.html.haml
effective_orders-3.2.1 app/views/effective/carts/_cart.html.haml
effective_orders-3.2.0 app/views/effective/carts/_cart.html.haml
effective_orders-3.1.7 app/views/effective/carts/_cart.html.haml
effective_orders-3.1.6 app/views/effective/carts/_cart.html.haml
effective_orders-3.1.4 app/views/effective/carts/_cart.html.haml
effective_orders-3.1.3 app/views/effective/carts/_cart.html.haml
effective_orders-3.1.0 app/views/effective/carts/_cart.html.haml
effective_orders-3.0.4 app/views/effective/carts/_cart.html.haml
effective_orders-3.0.3 app/views/effective/carts/_cart.html.haml
effective_orders-3.0.2 app/views/effective/carts/_cart.html.haml
effective_orders-3.0.1 app/views/effective/carts/_cart.html.haml
effective_orders-3.0.0 app/views/effective/carts/_cart.html.haml