X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=home.sh;h=b8f8192eccc26fccf14d4483d9317e64ef2d3a1f;hb=HEAD;hp=c4d5754139bb2d6c04a1260e25e4272692be032e;hpb=22d77b49555ed424e7d9064b06f37b8caa83f914;p=webpoll diff --git a/home.sh b/home.sh index c4d5754..b8f8192 100755 --- a/home.sh +++ b/home.sh @@ -20,7 +20,7 @@ if [ "$REQUEST_METHOD" = POST ]; then else [ "$PATH_INFO" != / ] && printf 'Status: 404 Not Found\r\n' yield_page "Start a Poll" "home" <<-EOF - [form method=post + [main [form method=post [submit "start" "date" Start a new poll] $(if [ "$bookmarks" ]; then printf '[h2 Recent Polls][ul .recent' @@ -31,6 +31,6 @@ else done printf ']' fi) - ] + ]] EOF fi