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.
34 lines
1.4 KiB
34 lines
1.4 KiB
section.form-wrapper
|
|
form.form-post(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)
|
|
section.postform-row
|
|
.postform-label Name
|
|
input#name(type='text', name='name', placeholder='Anonymous' autocomplete='off' maxlength='50')
|
|
section.postform-row
|
|
.postform-label Subject
|
|
input#title(type='text', name='subject', autocomplete='off' maxlength='50')
|
|
section.postform-row
|
|
.postform-label Email
|
|
input#name(type='text', name='email', autocomplete='off' maxlength='50')
|
|
section.postform-row
|
|
.postform-label Password
|
|
input#password(type='password', name='password', autocomplete='off' maxlength='50')
|
|
section.postform-row
|
|
.postform-label Message
|
|
textarea#message(name='message', rows='5', autocomplete='off' maxlength='2000')
|
|
section.postform-row
|
|
.postform-label Files
|
|
input#file(type='file', name='file' multiple='multiple')
|
|
label.postform-style.ph-5.ml-1
|
|
input#spoiler(type='checkbox', name='spoiler', value='true')
|
|
| Spoiler
|
|
section.postform-row
|
|
.postform-label Captcha
|
|
.postform-col
|
|
img.captcha(src='/captcha' width=200 height=80)
|
|
input#captcha(type='text', name='captcha', autocomplete='off' placeholder='captcha text' maxlength='6')
|
|
|
|
input(type='submit', value='submit')
|
|
|
|
|
|
|