Modified a guestbook form.

This commit is contained in:
Alexander Andreev 2022-10-26 01:49:24 +04:00
parent 2ffe5b46b7
commit 8049d76864
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 3 additions and 5 deletions

View File

@ -24,12 +24,10 @@ block content
input(type='text' maxlength='255' placeholder='Website (optional)' name='website')
textarea(maxlength='4096' placeholder='Your message' name='message' required)
span.checkboxes
span.checkbox
input(type='checkbox' id='hide-website' name='hide_website' checked)
label(for='hide-website') Hide website*
small *Only I can see if set.
input(type='checkbox' id='hide-website' name='hide_website' checked)
label(for='hide-website') Hide website #[small (only I can see if set)]
span.captcha
input(type='hidden', name='captcha_id' value=captcha_id)
input(type='hidden' value=captcha_id name='captcha_id')
img(src='/api/captcha/'+captcha_id+'/image', alt="CAPTCHA" width='160' height='40')
input(type='text' maxlength='6' placeholder='CAPTCHA' name='captcha_answer' required)
small Valid for #[b 10] minutes.