Sha256: 92372e9b776cf09a150751d95819430fac34b631f592c4ac36f0496592e68f7c
Contents?: true
Size: 956 Bytes
Versions: 4
Compression:
Stored size: 956 Bytes
Contents
<div> {% if cart.items != blank %} <form method="post" action="/cart"> <h1>Cart</h1> <ul> {% for item in cart.items %} <li> <a href="{{ item.product.url }}" style="background-image: url({{ item.product.image | product_image_url size:"thumb" }});">{{ item.name }}</a> <span><a href="{{ item.product.url }}">{{ item.product.name }}</a></span> {% unless item.product.has_default_option %} <span>{{ item.option.name }}</span> {% endunless %} </li> {% endfor %} <li> <label>Total:</label> <span>{{ cart.total | money_with_sign }}</span> </li> <li> <button type="submit"name="checkout" title="Checkout" class="button">Checkout Now</button> </li> </ul> </form> {% else %} <div> <h1>Your cart is empty</h1> <p>Sounds like a good time to <a href="/">start shopping</a>.</p> </div> {% endif %} </div>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dugway-0.5.3 | spec/fixtures/theme/cart.html |
dugway-0.5.2 | spec/fixtures/theme/cart.html |
dugway-0.5.1 | spec/fixtures/theme/cart.html |
dugway-0.5.0 | spec/fixtures/theme/cart.html |