|
|
@ -1,4 +1,6 @@ |
|
|
|
section.form-wrapper.flex-center.mv-10 |
|
|
|
section.form-wrapper.flex-center.mv-10 |
|
|
|
|
|
|
|
details.toggle-label |
|
|
|
|
|
|
|
summary Show Post Form |
|
|
|
form.form-post(action=`/forms/board/${board._id}/post`, enctype='multipart/form-data', method='POST') |
|
|
|
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='_csrf' value=csrf) |
|
|
|
input(type='hidden' name='thread' value=thread != null ? thread.postId : null) |
|
|
|
input(type='hidden' name='thread' value=thread != null ? thread.postId : null) |
|
|
@ -40,7 +42,5 @@ section.form-wrapper.flex-center.mv-10 |
|
|
|
.postform-col |
|
|
|
.postform-col |
|
|
|
img.captcha(src='/captcha' width=200 height=80) |
|
|
|
img.captcha(src='/captcha' width=200 height=80) |
|
|
|
input#captcha(type='text', name='captcha', autocomplete='off' placeholder='captcha text' maxlength='6') |
|
|
|
input#captcha(type='text', name='captcha', autocomplete='off' placeholder='captcha text' maxlength='6') |
|
|
|
if !thread |
|
|
|
input(type='submit', value=`New ${threads ? 'Thread' : 'Reply'}`) |
|
|
|
input(type='submit', value='New Thread') |
|
|
|
//.mode Posting mode: #{threads ? 'Thread' : 'Reply'} |
|
|
|
else |
|
|
|
|
|
|
|
input(type='submit', value='Reply') |
|
|
|
|
|
|
|