diff options
Diffstat (limited to 'views.rkt')
| -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") |