From 7a69d71733b5a01b6bb9a9b32c4e13afa5fe6c96 Mon Sep 17 00:00:00 2001 From: CaiCandong <50507092+CaiCandong@users.noreply.github.com> Date: Fri, 11 Aug 2023 04:04:08 +0800 Subject: [PATCH] Fix incorrect redirection in new issue using references (#26440) fix #26427 related https://github.com/go-gitea/gitea/pull/25258 --- Before: ![gitea](https://github.com/go-gitea/gitea/assets/50507092/ed8d3a17-1f63-42f2-a698-3b684e70dc91) --- After: ![After](https://github.com/go-gitea/gitea/assets/50507092/b8e1338f-c520-4abc-b0df-b812c021ac7e) --- templates/repo/issue/view_content/reference_issue_dialog.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/reference_issue_dialog.tmpl b/templates/repo/issue/view_content/reference_issue_dialog.tmpl index 1bb6366ea..861e7b97a 100644 --- a/templates/repo/issue/view_content/reference_issue_dialog.tmpl +++ b/templates/repo/issue/view_content/reference_issue_dialog.tmpl @@ -3,7 +3,7 @@ {{.locale.Tr "repo.issues.context.reference_issue"}}
-
+ {{.CsrfTokenHtml}}