diff options
Diffstat (limited to 'formlets.rkt')
| -rw-r--r-- | formlets.rkt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formlets.rkt b/formlets.rkt index d96f374..ce92129 100644 --- a/formlets.rkt +++ b/formlets.rkt @@ -22,11 +22,11 @@ (input #:type "number" #:attributes `((class "form-control") [id ,(number->string id)] [step "0.1"] - [placeholder ,(nutrient-name nutrient)]))) + [placeholder ,(nutrient-french-name nutrient)]))) (define input-label `(label ((for ,(number->string id) )) - ,(nutrient-name nutrient))) + ,(nutrient-french-name nutrient))) (formlet (#%# (div ((class "form-floating mb-3")) ,{=> number-input nutrient-value-b} ,input-label)) (let ([nutrient-value (string->number (bytes->string/utf-8 (binding:form-value nutrient-value-b)))]) |