From d2c870414f6fe8d2302fcd4e4017748ea68e144e Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Mon, 18 May 2026 18:08:21 +0200 Subject: [PATCH] feat(course_page.html): use stripe payment links --- home/templates/home/course_page.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/home/templates/home/course_page.html b/home/templates/home/course_page.html index 13b7fe6..ae3eae3 100644 --- a/home/templates/home/course_page.html +++ b/home/templates/home/course_page.html @@ -52,10 +52,11 @@ {% else %}

{% trans "You don't have access to this course. Please purchase it to view the modules." %}

-
- {% csrf_token %} - -
+

+ {{ page.purchasable_products.first.price | floatformat:2 }} {{ page.purchasable_products.first.currency | upper }} +

+ {% trans "Purchase Course" %}
{% endif %} {% endblock content %}