aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_detail.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-09 17:21:11 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-09 17:21:11 +0100
commit677c935fdc3b083a9940a1b2f280cb1ccdbc03bd (patch)
treed9ecde9f2b9dc7db923438120b9031dc2b9b6301 /pyblackbird_cc/templates/resources/resource_detail.html
parent082d6a7ee8bece150c04840474b18aa791f6300d (diff)
wip: working on tests for adding resource to a cart
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/templates/resources/resource_detail.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html
index f287575..48d7efb 100644
--- a/pyblackbird_cc/templates/resources/resource_detail.html
+++ b/pyblackbird_cc/templates/resources/resource_detail.html
@@ -48,9 +48,11 @@
</div>
<div class="row align-items-end">
<div class="my-4 d-flex justify-content-center">
- <button class="btn btn-primary w-100">
- Add to cart
- </button>
+ <form action="{% url 'resource:add_to_cart' %}" method="get" accept-charset="utf-8">
+ <button class="btn btn-primary w-100">
+ Add to cart
+ </button>
+ </form>
</div>
</div>
</div>