mirror of
https://github.com/luxfi/pics.git
synced 2026-10-30 15:22:15 +00:00
18 lines
667 B
Plaintext
18 lines
667 B
Plaintext
form.form-post(action=`/forms/appeal`, enctype='application/x-www-form-urlencoded', method='POST' data-captcha-preload='true')
|
|
include ./bantable.pug
|
|
for ban in bans
|
|
+ban(ban, true)
|
|
- const allowAppeal = bans.filter(ban => ban.allowAppeal === true && !ban.appeal).length > 0;
|
|
if allowAppeal === true
|
|
h4.no-m-p #{__('Appeal')}:
|
|
.form-wrapper.flexleft.mt-10
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
.row
|
|
.label #{__('Message')}
|
|
textarea(rows='5' name='message' required)
|
|
if captchaOptions.type === 'text'
|
|
include ./captchasidelabel.pug
|
|
else
|
|
include ./captchafieldrow.pug
|
|
input(type='submit', value=__('Submit'))
|