mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
section.form-wrapper
|
|
label.toggle-label Show Post Form
|
|
input.toggle(type='checkbox')
|
|
form.form-post.togglable(action=`/forms/board/${board._id}/post`, enctype='multipart/form-data', method='POST')
|
|
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
|
|
input(type='hidden' name='thread' value=thread != null ? thread.postId : null)
|
|
|
|
input#title(type='text', name='subject', placeholder='subject' autocomplete='off' maxlength='50')
|
|
|
|
input#name(type='text', name='name', placeholder='name' autocomplete='off' maxlength='50')
|
|
|
|
input#name(type='text', name='email', placeholder='email' autocomplete='off' maxlength='50')
|
|
|
|
input#password(type='password', name='password', placeholder='post password' autocomplete='off' maxlength='50')
|
|
|
|
textarea#message(name='message', rows='8', cols='50', placeholder='message' autocomplete='off' maxlength='2000')
|
|
|
|
span
|
|
input#file(type='file', name='file' multiple)
|
|
label
|
|
input.post-check#spoiler(type='checkbox', name='spoiler', value='true')
|
|
| Spoiler
|
|
|
|
input(type='submit', value='submit')
|
|
|
|
|
|
|
|
|