diff --git a/web/templates/guestbook.pug b/web/templates/guestbook.pug index 67a1ee2..8fed8c4 100755 --- a/web/templates/guestbook.pug +++ b/web/templates/guestbook.pug @@ -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') diff --git a/web/templates/guestbook_admin.pug b/web/templates/guestbook_admin.pug index 6bd1733..09e32ba 100755 --- a/web/templates/guestbook_admin.pug +++ b/web/templates/guestbook_admin.pug @@ -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