here's -> here are the results

This commit is contained in:
Jack Wines 2023-06-24 21:40:55 -07:00
parent 357c6fb48d
commit dfef7d4935

View file

@ -109,7 +109,7 @@ vote pollId ballot = do
db <- Rd.asks db
liftIO $ Ac.update db (DB.PostBallot pollId ballot')
pure $ with div_ [id_ "resultLink"] $ do
"success! Here's the "
"success! Here are the "
with a_ [href_ (toPollIdLink pollId `T.append` "/results")] "results"
where
ballot' = B.Ballot . filter (not . T.null) . B.options $ ballot