Changed form action from /guestbook to /api/guestbook.
This commit is contained in:
parent
a664bd9c5b
commit
34765f9e47
@ -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='')
|
||||
|
Loading…
Reference in New Issue
Block a user