Sha256: 21c3409da581dad3d5ecc6095d80f7e343aff19f12b03a0c42216b9f4ca88786

Contents?: true

Size: 631 Bytes

Versions: 4

Compression:

Stored size: 631 Bytes

Contents

%h1 Remote Cart

%center
  Currently #{@cart_content.size} items in cart.
  %br
  %br
  %table.pure-table
    %thead
      %tr
        %th
          Product
        %th
          Local Name
        %th
          Quantity
    %tbody
      - @cart_products.each do |product, qty|
        - if product.nil?
          %tr
            %td unknown product
            %td unknown product
            %td unknown product
        - else
          %tr
            %td
              = remote_product_link product
            %td
              = local_product_link(product.local_product) rescue "unlinked"
            %td
              = qty

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rawbotz-0.1.5 lib/rawbotz/views/remote_cart/index.haml
rawbotz-0.1.4 lib/rawbotz/views/remote_cart/index.haml
rawbotz-0.1.3 lib/rawbotz/views/remote_cart/index.haml
rawbotz-0.1.2 lib/rawbotz/views/remote_cart/index.haml