Added a JS script. Shortened CAPTCHA expiry message.

This commit is contained in:
Alexander Andreev 2022-08-25 03:26:04 +04:00
parent 10ad2177c4
commit c186f232a8
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ mixin entryLine(line)
block head
link(href='/assets/css/guestbook.css' rel='stylesheet')
script(src='/assets/js/captcha_refresh.js' defer='')
block nav
nav
@ -34,7 +35,7 @@ block content
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' required)
small Will be valid for next #[b 10] minutes.
small Valid for #[b 10] minutes.
small *Only I can see if set.
input(type='submit' value='Send a post')
section#posts