diff options
| author | unwox <me@unwox.com> | 2025-10-15 16:03:08 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-10-15 16:15:47 +0600 |
| commit | b06fdc9c3b4b6dc0d5d60098303dd57d5c098e13 (patch) | |
| tree | 9ba4247d46b2a8b984a0893c5a13d1d03af51460 /templates.fnl | |
| parent | 163773bdf237ba80a34a4a5366df826933f2cd8a (diff) | |
implement pagination
Diffstat (limited to 'templates.fnl')
| -rw-r--r-- | templates.fnl | 3 |
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}) |
