summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <dev@marius-peter.com>2025-11-22 18:43:16 +0100
committerMarius Peter <dev@marius-peter.com>2025-11-22 18:43:16 +0100
commit5bfc36807c6b5bcf328c3e7f74d04384632cfd34 (patch)
tree1cf44eafbfc4791b36b009b750db4f6dace611e8
parent0e23a5aba9497bba1bb758d61f32e7a3c07088a6 (diff)
Update date formlet.
-rw-r--r--formlets.rkt10
1 files changed, 3 insertions, 7 deletions
diff --git a/formlets.rkt b/formlets.rkt
index cc89fc0..d96f374 100644
--- a/formlets.rkt
+++ b/formlets.rkt
@@ -12,13 +12,9 @@
"models/crop-requirement.rkt")
(define date-formlet
- (formlet ,{=>
- (to-string (required (input #:type "date"
- #:value (date->iso8601 (today))
- #:attributes
- '((class "form-control") [required "required"]))))
- date-b}
- date-b))
+ (to-string (required (input #:type "date"
+ #:value (date->iso8601 (today))
+ #:attributes '((class "form-control") [required "required"])))))
(define (nutrient-value-formlet nutrient)
(define id (nutrient-id nutrient))
Copyright 2019--2026 Marius PETER