From: Paul Hänsch Date: Thu, 26 Aug 2021 14:59:03 +0000 (+0200) Subject: suppress autocomplete for title input X-Git-Url: https://git.plutz.net/?p=webpoll;a=commitdiff_plain;h=2451369ab1bf0ade0829dd031e9d30013937a1e7 suppress autocomplete for title input --- diff --git a/newdate.sh b/newdate.sh index d909cbd..83e27b6 100755 --- a/newdate.sh +++ b/newdate.sh @@ -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.]' \