guestbook was replaced by justguestbook in templates.
This commit is contained in:
parent
f95fc841ce
commit
36cac99f48
@ -21,7 +21,7 @@ block nav
|
||||
h1 Guestbook
|
||||
|
||||
block content
|
||||
:go:func Guestbook(title, owner, captcha_id string, pages_count int64, entries []*guestbook.Entry, r *http.Request)
|
||||
:go:func Guestbook(title, owner, captcha_id string, pages_count int64, entries []*justguestbook.Entry, r *http.Request)
|
||||
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')
|
||||
|
@ -17,7 +17,7 @@ block nav
|
||||
h1 Guestbook Admin
|
||||
|
||||
block content
|
||||
:go:func GuestbookAdmin(title, owner string, entries []*guestbook.Entry, r *http.Request)
|
||||
:go:func GuestbookAdmin(title, owner string, entries []*justguestbook.Entry, r *http.Request)
|
||||
section#posts
|
||||
if (len(entries) > 0)
|
||||
each entry in entries
|
||||
|
Loading…
Reference in New Issue
Block a user