Threaded comments
This commit is contained in:
13
pages/post/newpostarea.go
Normal file
13
pages/post/newpostarea.go
Normal file
@ -0,0 +1,13 @@
|
||||
package post
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/utils"
|
||||
)
|
||||
|
||||
// NewPostArea renders a new post area.
|
||||
func NewPostArea(ctx *aero.Context) string {
|
||||
user := utils.GetUser(ctx)
|
||||
return ctx.HTML(components.NewPostArea(user, "Reply"))
|
||||
}
|
Reference in New Issue
Block a user