This commit is contained in:
stuce-bot 2025-05-19 15:45:31 +02:00
parent 045908d7c3
commit 0337de721d
2 changed files with 1 additions and 5 deletions

View file

@ -15,7 +15,7 @@ mainPage content =
<> rawEditButton <> rawEditButton
where where
f content = concatMap item (lines content) f content = concatMap item (lines content)
newItemForm = form "action=\"/add\" method=\"post\"><input type=\"text\" name=\"text\" placeholder=\"o add a new item>" $ button "type=\"submit\"" "add" newItemForm = form "action=\"/add\" method=\"post\"><input type=\"text\" name=\"text\" placeholder=\"o add a new item\"" $ button "type=\"submit\"" "add"
rawEditButton = link "/edit" "edit todo list" rawEditButton = link "/edit" "edit todo list"
{-# INLINE editPage #-} {-# INLINE editPage #-}

View file

@ -2,7 +2,3 @@ o Wake up
o Eat o Eat
o Sleep o Sleep
o Repeat o Repeat
o Hi
o Xd
o lol
o école