summaryrefslogtreecommitdiff
path: root/templates.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'templates.fnl')
-rw-r--r--templates.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates.fnl b/templates.fnl
index 5137acc..6ebf19c 100644
--- a/templates.fnl
+++ b/templates.fnl
@@ -145,7 +145,8 @@
(local disabled (or out-of-stock? in-basket-quantity))
(HTML
- [:form {:method "POST" :action "/shop/cart/add" :class classes}
+ [:form {:method "POST" :action "/shop/cart/add"
+ :class (.. "d-flex gap-0-5 " classes)}
[:input {:type "hidden" :name "name" :value product.name}]
[:input {:type "hidden" :name "redirect-url" :value redirect-url}]
[:select (fn [] {:name "quantity" :disabled disabled})