blob: 46117d1679eb2a0a79be3bbf90f5b20e7e06ecb1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{% extends "base.html" %}
{% load static %}
{% block content %}
<div class="container my-5">
<h1 class="mb-4">My basket</h1>
<p class="text-body-secondary">{% lorem %}</p>
{% if cart %}
<div class="row">
<div class="col-8 my-5 bg-secondary-subtle border border-1 rounded border-dark">
<div class="my-4 bg-white rounded">
<div>
{% for item in cart.items.all %}
<div class="my-3">
{% include "payments/cart_lineitem.html" with item=item %}
</div>
{% endfor %}
</div>
</div>
</div>
<div class="col-4 my-5">
{% include "payments/cart_sidepanel.html" with cart=cart total=total %}
</div>
</div>
{% else %}
<p>Your cart is empty.</p>
{% endif %}
</div>
{% endblock %}
|