[Racket] Ferti hydroponic nutrient solver, redux.
Fix typos in views.
views.rkt
@@ -182,7 +182,7 @@
182
182
'(div ((class "btn-group mb-3"))
183
183
(a ((class "btn btn-primary") [href "/ferti/crop-requirements/new"]) "Ajouter un profil")
184
184
(a ((class "btn btn-secondary") [href "/ferti/crops/new"]) "Ajouter une culture")))
185
Removed:
(ferti-template "Cultures" (list button-group accordion)))
185
Added:
(ferti-template "Cultures" (list button-group table)))
186
186
187
187
;; TODO: add bar chart for comparing to target concentrations
188
188
(define (ferti-recipe-page recipe-date fertilizer-recipe)
@@ -328,7 +328,7 @@
328
328
(define profile-list
329
329
`(ul ,@(for/list ([cr crop-requirements-for-crop])
330
330
`(li (a ([href ,(format "/ferti/crop-requirements/~a" (crop-requirement-id cr))])
331
Removed:
,(string-titlecase crop-requirement-profile cr))))))
331
Added:
,(string-titlecase (crop-requirement-profile cr)))))))
332
332
(define button-group
333
333
`(div ((class "btn-group mb-3"))
334
334
(a ((class "btn btn-primary") [href ,(format "/ferti/crops/~a/edit" id)]) "Modifier")