diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-20 17:36:29 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-20 17:36:29 +0100 |
commit | a5942c7f240686146c243e22d849db97d0a904b9 (patch) | |
tree | 9918b615d9decc7e397b7b7fd4ab833e23c38791 /alphabetlearning/templates/payments/cart_sidepanel.html | |
parent | 97cd01917e26dc21b992b470e6960bf5a64b952b (diff) |
tidying up the cart detail page - still nowhere near good enough
Diffstat (limited to 'alphabetlearning/templates/payments/cart_sidepanel.html')
-rw-r--r-- | alphabetlearning/templates/payments/cart_sidepanel.html | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/alphabetlearning/templates/payments/cart_sidepanel.html b/alphabetlearning/templates/payments/cart_sidepanel.html index b788d24..b844495 100644 --- a/alphabetlearning/templates/payments/cart_sidepanel.html +++ b/alphabetlearning/templates/payments/cart_sidepanel.html @@ -3,16 +3,8 @@ <div> <strong>Subtotal:</strong> </div> - <div> - £{{ cart_total }} 10.24 - </div> - </div> - <div class="p-1 d-flex justify-content-between"> - <div> - <strong>Shipping and handling:</strong> - </div> - <div> - <p class="text-end">There is nothing to say here</p> + <div class="fw-bold"> + £{{ total|floatformat:2 }} </div> </div> <hr> @@ -25,7 +17,7 @@ <div class="d-grid gap-2 mx-auto col-11"> <form action="{% url 'payments:create-checkout-session' cart.id %}" method="POST"> {% csrf_token %} - <button class="btn btn-primary btn-lg">Checkout now</button> + <button class="btn btn-primary btn-lg w-100">Checkout now</button> </form> </div> </div> |