diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /alphabetlearning/templates/payments/landingpage.html | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'alphabetlearning/templates/payments/landingpage.html')
-rw-r--r-- | alphabetlearning/templates/payments/landingpage.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/alphabetlearning/templates/payments/landingpage.html b/alphabetlearning/templates/payments/landingpage.html new file mode 100644 index 0000000..9897301 --- /dev/null +++ b/alphabetlearning/templates/payments/landingpage.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% block content %} + <div class="container my-5"> + <div class="row"> + <h2>Welcome to PyBlackbird - Buy this</h2> + + <section> + <div class="product"> + <div class="description"> + <h3>{{ product.name }}</h3> + <hr/> + {% for price in prices %} + + <div> + <h5>${{ price.get_display_price }}</h5> + <form action="{% url 'payments:create-checkout-session' price.id %}" method="POST"> + {% csrf_token %} + <button type="submit" class="btn btn-primary">Checkout</button> + </form> + </div> + + {% endfor %} + </div> + </div> + </section> + + + </div> +{% endblock content %}
\ No newline at end of file |