From b4b113796455b85389df1c826f6e7ec93e804001 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 24 Nov 2025 15:44:58 +0100 Subject: Add French name to nutrient model. --- formlets.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'formlets.rkt') 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)))]) -- cgit v1.2.3