Hide cancel button in the thread view
This commit is contained in:
@ -19,5 +19,5 @@ func ReplyUI(ctx *aero.Context) string {
|
||||
return ctx.Error(http.StatusNotFound, "Post not found", err)
|
||||
}
|
||||
|
||||
return ctx.HTML(components.NewPostArea(user, "Reply") + components.NewPostActions(post.Type(), post.ID))
|
||||
return ctx.HTML(components.NewPostArea(user, "Reply") + components.NewPostActions(post.Type(), post.ID, true))
|
||||
}
|
||||
|
Reference in New Issue
Block a user