diff options
| author | unwox <me@unwox.com> | 2025-10-30 19:01:32 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-10-30 20:36:58 +0600 |
| commit | 4151e7a73ef0476b4aea5a356d391a7060b8a01c (patch) | |
| tree | a576a0017fa5fa0c368d39c270a1df99b79b6014 /pages/shop/_product/edit.fnl | |
| parent | b06fdc9c3b4b6dc0d5d60098303dd57d5c098e13 (diff) | |
small improvements here and there
Diffstat (limited to 'pages/shop/_product/edit.fnl')
| -rw-r--r-- | pages/shop/_product/edit.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/shop/_product/edit.fnl b/pages/shop/_product/edit.fnl index 3995096..2568aff 100644 --- a/pages/shop/_product/edit.fnl +++ b/pages/shop/_product/edit.fnl @@ -63,7 +63,7 @@ (values 302 {:Location "/shop"} "") (if request.form (let [data (forms.html-form->data product-form request.form db) - errors (forms.validate-form product-form data) + errors (forms.validate product-form data) has-errors? (not (lib.empty-table? errors))] (if has-errors? (values 400 {} (templates.base (content product-form data errors |
