1
0

Changed form action from /guestbook to /api/guestbook.

This commit is contained in:
Alexander Andreev 2023-05-06 23:14:04 +04:00
parent a664bd9c5b
commit 34765f9e47
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -22,7 +22,7 @@ block nav
block content
:go:func Guestbook(title, owner, captcha_id string, pages_count int64, entries []*guestbook.Entry, r *http.Request)
form#new-post(action='/guestbook', method='POST')
form#new-post(action='/api/guestbook', method='POST')
input(type='text' maxlength='80' placeholder='Name (Anonymous if left blank)' name='name')
input(type='text' maxlength='255' placeholder='Website (optional)' name='website')
textarea(maxlength='4096' placeholder='Your message' name="message" required='')