]> git.plutz.net Git - webpoll/blobdiff - newdate.sh
suppress autocomplete for title input
[webpoll] / newdate.sh
index d909cbdd23c7edec8feb0ad4959b4fa16ab136a3..83e27b64cb8c21cd0022db779463d2fb4363d2ba 100755 (executable)
@@ -157,7 +157,7 @@ else
   yield_page "$(pagename "$id")" "newdate" <<-EOF
        $(dlist_timeofday)
        [main [form method=post
-         [input name=title value="$(DBM "$file" get title |HTML)" placeholder="Title"]
+         [input name=title value="$(DBM "$file" get title |HTML)" placeholder="Title" autocomplete=off]
          [textarea name=description placeholder="Description" . $(DBM "$file" get description |HTML)]
          $(if [ "$bookmarks" ]; then
            printf '[section .bookmark This admin page is accessible via the link [a href="%s" . %s]. You must copy this link and keep it safe, so you can modify this poll later! The poll has also been bookmarked and will be listed on the front page.]' \