diff options
| author | unwox <me@unwox.com> | 2025-09-14 21:22:02 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-09-14 21:22:02 +0600 |
| commit | d29f796b047c2a90db8f1e143d7da2a0159f9b7e (patch) | |
| tree | 2f4ec0e8c2326ff619cc0afd4e53e270b6e6e24c /forms.fnl | |
| parent | f3a8179ba51eb877b96a79d2806dfa58bd6100bd (diff) | |
small improvements
Diffstat (limited to 'forms.fnl')
| -rw-r--r-- | forms.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
