disable automplete in unnecessary form fields

merge-requests/208/head
fatchan 5 years ago
parent 119cee57e9
commit a424f63232
  1. 2
      static/css/style.css
  2. 8
      views/includes/postform.pug
  3. 2
      views/pages/board.pug
  4. 3
      views/pages/thread.pug

@ -66,7 +66,7 @@ input textares {
font-weight: bold;
}
.post-author {
.post-name {
color: #117743;
font-weight: bold;
}

@ -5,13 +5,13 @@ form.form-post(action='/api/board/'+board._id, enctype='multipart/form-data', me
input(type='hidden' name='thread' value=thread != null ? thread._id : null)
input#title(type='text', name='subject', placeholder='subject')
input#title(type='text', name='subject', placeholder='subject' autocomplete='off')
input#name(type='text', name='name', placeholder='name')
input#name(type='text', name='name', placeholder='name' autocomplete='off')
input#name(type='password', name='password', placeholder='password (for deletion)')
input#password(type='password', name='password', placeholder='password (for deletion)' autocomplete='off')
textarea#messagey(name='message', rows='8', cols='50', placeholder='message')
textarea#messagey(name='message', rows='8', cols='50', placeholder='message' autocomplete='off')
input#file(type='file', name='file')

@ -16,5 +16,5 @@ block content
for post in thread.replies
+post(board, post)
hr(size=1)
input#password(type='password', name='password', placeholder='password (for deletion)')
input#password(type='password', name='password', placeholder='password (for deletion)' autocomplete='off')
input(type='submit', value='delete')

@ -14,7 +14,8 @@ block content
+post(board, thread)
for post in thread.replies
+post(board, post)
input#password(type='password', name='password', placeholder='password (for deletion)')
hr(size=1)
input#password(type='password', name='password', placeholder='password (for deletion)' autocomplete='off')
input(type='submit', value='delete')

Loading…
Cancel
Save