From d29f796b047c2a90db8f1e143d7da2a0159f9b7e Mon Sep 17 00:00:00 2001 From: unwox Date: Sun, 14 Sep 2025 21:22:02 +0600 Subject: small improvements --- forms.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forms.fnl') diff --git a/forms.fnl b/forms.fnl index 4e57125..9b035e1 100644 --- a/forms.fnl +++ b/forms.fnl @@ -230,8 +230,8 @@ [:option (fn [] {:value option.value :selected (= value option.value)}) option.label])))] - (if error [:div {:class "form-error"} error] "") - (if help [:div {:class "form-help"} help] "")]))}) + (if error (HTML [:div {:class "form-error"} error]) "") + (if help (HTML [:div {:class "form-help"} help]) "")]))}) (fn render-form [form data errors] (HTML -- cgit v1.2.3