mirror of https://gitgud.io/fatchan/jschan.git
parent
2a658e7098
commit
a17732d137
4 changed files with 95 additions and 64 deletions
@ -1,18 +1,19 @@ |
||||
p make a post: |
||||
section.form-post-wrapper |
||||
form.form-post(action='/api/board/'+board._id, enctype='multipart/form-data', method='POST') |
||||
|
||||
input(type='hidden' name='_csrf' value=csrf) |
||||
|
||||
input(type='hidden' name='thread' value=thread != null ? thread._id : null) |
||||
|
||||
input#title(type='text', name='subject', placeholder='subject' autocomplete='off') |
||||
input#title(type='text', name='subject', placeholder='subject' autocomplete='off' maxlength='50') |
||||
|
||||
input#name(type='text', name='name', placeholder='name' autocomplete='off') |
||||
input#name(type='text', name='name', placeholder='name' autocomplete='off' maxlength='50') |
||||
|
||||
input#password(type='password', name='password', placeholder='password (for deletion)' autocomplete='off') |
||||
input#password(type='password', name='password', placeholder='password (for deletion)' autocomplete='off' maxlength='50') |
||||
|
||||
textarea#messagey(name='message', rows='8', cols='50', placeholder='message' autocomplete='off') |
||||
textarea#message(name='message', rows='8', cols='50', placeholder='message' autocomplete='off' maxlength='2000') |
||||
|
||||
input#file(type='file', name='file' multiple) |
||||
|
||||
input(type='submit', value='submit') |
||||
|
||||
|
Loading…
Reference in new issue