Added CAPTCHA on a form.
This commit is contained in:
parent
41bd79a779
commit
6c45d2661e
@ -30,9 +30,12 @@ block content
|
|||||||
span.checkbox
|
span.checkbox
|
||||||
input(type='checkbox' id='hide-website' name='hide_website' checked)
|
input(type='checkbox' id='hide-website' name='hide_website' checked)
|
||||||
label(for='hide-website') Hide website*
|
label(for='hide-website') Hide website*
|
||||||
|
span.captcha
|
||||||
|
input(type='hidden', name='captcha_id' value=captcha_id)
|
||||||
|
img(src='/captcha/'+captcha_id+'/image', alt="CAPTCHA" width='160' height='40')
|
||||||
|
input(type='text' maxlength='6' placeholder='CAPTCHA' name='captcha_answer')
|
||||||
|
small Will be valid for next #[b 5] minutes.
|
||||||
small *Only I can see if set.
|
small *Only I can see if set.
|
||||||
br
|
|
||||||
small NO links are allowed in a message.
|
|
||||||
input(type='submit' value='Send a post')
|
input(type='submit' value='Send a post')
|
||||||
section#posts
|
section#posts
|
||||||
if (posts)
|
if (posts)
|
||||||
|
Loading…
Reference in New Issue
Block a user