Costly routing blunder.

Must start using the fapg-url function.

Commit
89ea0330ef89b41998f069e5acdc9fb1fcceecce
Author
Marius Peter <dev@marius-peter.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
views.rkt
index d48395cf..d89f31d7 100644..100644
@@ -188,21 +188,21 @@
188 188 (page-template "Nouveau relevé"
189 189 `((h1 ((class "display-1 mb-3")) "Nouveau relevé")
190 190 (div ((class "mb-3") [style "max-width: 30em"])
191 Removed: (form ([action "/ferti/measurement/create"] [method "POST"])
191 Added: (form ([action "/ferti/measurements/create"] [method "POST"])
192 192 ,@(formlet-display (measurements-formlet)))))))
193 193
194 194 (define (new-rotation-page #:date [date-string #f])
195 195 (page-template "Nouvel assolement"
196 196 `((h1 ((class "display-1 mb-3")) "Nouvel assolement")
197 197 (div ((class "mb-3") [style "max-width: 30em"])
198 Removed: (form ([action "/ferti/rotation/create"] [method "POST"])
198 Added: (form ([action "/ferti/rotations/create"] [method "POST"])
199 199 ,@(formlet-display (rotation-formlet #:date date-string)))))))
200 200
201 201 (define (new-fertilizer-page)
202 202 (page-template "Nouvel intrant"
203 203 `((h1 ((class "display-1 mb-3")) "Nouvel intrant")
204 204 (div ((class "mb-3") [style "max-width: 30em"])
205 Removed: (form ([action "/ferti/fertilizer/create"] [method "POST"])
205 Added: (form ([action "/ferti/fertilizers/create"] [method "POST"])
206 206 ,@(formlet-display (fertilizer-formlet)))))))
207 207
208 208 (define (show-measurement-page nm)