1
0
Fork 0

guestbook was replaced by justguestbook in templates.

This commit is contained in:
Alexander Andreev 2023-05-23 04:57:35 +04:00
parent f95fc841ce
commit 36cac99f48
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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