diff options
| author | Marius Peter <dev@marius-peter.com> | 2025-12-14 18:14:46 +0100 |
|---|---|---|
| committer | Marius Peter <dev@marius-peter.com> | 2025-12-14 18:14:46 +0100 |
| commit | 8fed3ffe6f2467849ed59c9a1445348e432e8c09 (patch) | |
| tree | f3a0ad6a878eb45aa32aae1c26d002c11b6dca1b | |
| parent | 3c53050a981c700208bf6ed5bb68785b335f41f6 (diff) | |
Fix typos in views.
| -rw-r--r-- | views.rkt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -182,7 +182,7 @@ '(div ((class "btn-group mb-3")) (a ((class "btn btn-primary") [href "/ferti/crop-requirements/new"]) "Ajouter un profil") (a ((class "btn btn-secondary") [href "/ferti/crops/new"]) "Ajouter une culture"))) - (ferti-template "Cultures" (list button-group accordion))) + (ferti-template "Cultures" (list button-group table))) ;; TODO: add bar chart for comparing to target concentrations (define (ferti-recipe-page recipe-date fertilizer-recipe) @@ -328,7 +328,7 @@ (define profile-list `(ul ,@(for/list ([cr crop-requirements-for-crop]) `(li (a ([href ,(format "/ferti/crop-requirements/~a" (crop-requirement-id cr))]) - ,(string-titlecase crop-requirement-profile cr)))))) + ,(string-titlecase (crop-requirement-profile cr))))))) (define button-group `(div ((class "btn-group mb-3")) (a ((class "btn btn-primary") [href ,(format "/ferti/crops/~a/edit" id)]) "Modifier") |