1
0

For some reason justguestbook package isn't being automatically imported when building a package.

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

View File

@ -21,6 +21,7 @@ block nav
h1 Guestbook
block content
:go:import "git.arav.su/Arav/justguestbook"
: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')

View File

@ -17,6 +17,7 @@ block nav
h1 Guestbook Admin
block content
:go:import "git.arav.su/Arav/justguestbook"
:go:func GuestbookAdmin(title, owner string, entries []*justguestbook.Entry, r *http.Request)
section#posts
if (len(entries) > 0)