summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views.rkt4
1 files changed, 2 insertions, 2 deletions
diff --git a/views.rkt b/views.rkt
index adcf59b..d854636 100644
--- a/views.rkt
+++ b/views.rkt
@@ -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")
Copyright 2019--2026 Marius PETER