diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-09 17:34:23 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-09 17:34:23 +0100 |
commit | 52240b9a0c9efaf0d092bfb029b6ca7e74442217 (patch) | |
tree | 25a45dc7b01196a5b0091aaabd95862373ebc68e /pyblackbird_cc/templates/resources | |
parent | 677c935fdc3b083a9940a1b2f280cb1ccdbc03bd (diff) |
wip: clicking add to cart button takes you to card detail but thats it
Diffstat (limited to 'pyblackbird_cc/templates/resources')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_detail.html | 2 |
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> |