aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/payments/cart_sidepanel.html
blob: b8444956b9b65ccd4d5d85bfed386f38f6806358 (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
<div class="p-2 border border-2 rounded rounded-2 border-light-subtle">
    <div class="p-1 d-flex justify-content-between">
       <div>
           <strong>Subtotal:</strong>
       </div> 
       <div class="fw-bold">
          &#163;{{ total|floatformat:2 }}
       </div>
    </div>
    <hr>
    <div class="my-1">
        <p class="p-1 text-secondary">After payment, links to your download will be generated.
        <a class="p-1 text-sm" href="#">Help</a>
        </p>
        
    </div>
    <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 w-100">Checkout now</button>
        </form>
    </div>
</div>