Disable input autocomplete

Fixes #433
This commit is contained in:
Zed
2022-01-30 17:17:59 +01:00
parent 8ecac89ea0
commit b1a90cd52b
2 changed files with 7 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ macro renderPrefs*(): untyped =
proc renderPreferences*(prefs: Prefs; path: string; themes: seq[string]): VNode =
buildHtml(tdiv(class="overlay-panel")):
fieldset(class="preferences"):
form(`method`="post", action="/saveprefs"):
form(`method`="post", action="/saveprefs", autocomplete="off"):
refererField path
renderPrefs()