From 4151e7a73ef0476b4aea5a356d391a7060b8a01c Mon Sep 17 00:00:00 2001 From: unwox Date: Thu, 30 Oct 2025 19:01:32 +0600 Subject: small improvements here and there --- pages/shop/_product/edit.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/shop/_product/edit.fnl') 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 -- cgit v1.2.3