diff options
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_detail.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_detail.html | 8 |
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> |