Add nutrient target front-end validation.

Commit
cce6a211e80440fef84c4ac0e007cc33ea929946
Author
Marius Peter <dev@marius-peter.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
formlets.rkt
index d0baffca..f3f9c961 100644..100644
@@ -57,7 +57,7 @@
57 57 (define number-input
58 58 (input #:type "number"
59 59 #:attributes
60 Removed: `((class "form-control") [id ,(number->string id)] [step "1"] [placeholder ,profile])))
60 Added: `((class "form-control") [id ,(number->string id)] [min "0"] [max "100"] [step "1"] [placeholder ,profile])))
61 61 (define input-label
62 62 `(label ((for ,(number->string id)
63 63 ))