From 5a66ce2ba7416a3fb071eb7c4ca811173c9a0781 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Mon, 24 Sep 2018 16:36:58 +0200 Subject: [PATCH] fix long line --- src/wanijo/framework/form.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wanijo/framework/form.clj b/src/wanijo/framework/form.clj index 5f0fd71..e990af4 100644 --- a/src/wanijo/framework/form.clj +++ b/src/wanijo/framework/form.clj @@ -98,7 +98,11 @@ (and (some? value) (not= 0 value)) (if validate? req-value value)))) -(defn render-textarea [id {:keys [label required spec]} value req-value validate?] +(defn render-textarea [id + {:keys [label required spec]} + value + req-value + validate?] (list (when (and validate? (not (spec/valid? spec req-value))) (spec-to-errmsg label spec value))