|
|
|
@ -87,7 +87,7 @@
|
|
|
|
|
(when (and validate? (not (spec/valid? spec req-value)))
|
|
|
|
|
(spec-to-errmsg label spec req-value))
|
|
|
|
|
(hform/label id label)
|
|
|
|
|
(hform/text-field {:required (when required "required")}
|
|
|
|
|
(hform/text-field {:required (or required false)}
|
|
|
|
|
id
|
|
|
|
|
(if validate? req-value value))))
|
|
|
|
|
|
|
|
|
@ -109,7 +109,7 @@
|
|
|
|
|
(when (and validate? (not (spec/valid? spec req-value)))
|
|
|
|
|
(spec-to-errmsg label spec value))
|
|
|
|
|
(hform/label id label)
|
|
|
|
|
(hform/text-area {:required (when required "required")}
|
|
|
|
|
(hform/text-area {:required (or required false)}
|
|
|
|
|
id
|
|
|
|
|
(if validate? req-value value))))
|
|
|
|
|
|
|
|
|
|