From 660c6776e126ed6ea62a91af9a32c50b634614c4 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 9 Mar 2021 19:07:52 -0500 Subject: [PATCH] need the add honker button here too --- web.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web.go b/web.go index 9528519..74d8be0 100644 --- a/web.go +++ b/web.go @@ -2221,7 +2221,12 @@ func webhydra(w http.ResponseWriter, r *http.Request) { case "honker": xid := r.FormValue("xid") honks = gethonksbyxonker(userid, xid, wanted) - msg := templates.Sprintf(`honks by honker: %s`, xid, xid) + miniform := templates.Sprintf(`
+ + + +
`, login.GetCSRF("submithonker", r), xid) + msg := templates.Sprintf(`honks by honker: %s%s`, xid, xid, miniform) templinfo["ServerMessage"] = msg default: http.NotFound(w, r)