aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/templates')
-rw-r--r--pyblackbird_cc/templates/resources/resource_detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html
index 48d7efb..6c6ceda 100644
--- a/pyblackbird_cc/templates/resources/resource_detail.html
+++ b/pyblackbird_cc/templates/resources/resource_detail.html
@@ -48,7 +48,7 @@
</div>
<div class="row align-items-end">
<div class="my-4 d-flex justify-content-center">
- <form action="{% url 'resource:add_to_cart' %}" method="get" accept-charset="utf-8">
+ <form action="{% url 'payments:add_to_cart' resource.id %}" method="get" accept-charset="utf-8">
<button class="btn btn-primary w-100">
Add to cart
</button>