From 5f1af1f37dcc519fc4bb52c90859f0301c89bf0b Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 9 May 2024 07:26:53 +0800 Subject: [PATCH] Fix incorrect issue form (#30881) (#30904) Backport #30881 by wxiaoguang Co-authored-by: wxiaoguang --- .../repo/issue/branch_selector_field.tmpl | 6 +---- web_src/js/features/repo-legacy.js | 27 ++++++++----------- 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/templates/repo/issue/branch_selector_field.tmpl b/templates/repo/issue/branch_selector_field.tmpl index cbf7929fdb..5793a8bfda 100644 --- a/templates/repo/issue/branch_selector_field.tmpl +++ b/templates/repo/issue/branch_selector_field.tmpl @@ -1,12 +1,8 @@ {{if and (not .Issue.IsPull) (not .PageIsComparePull)}} - -
- {{$.CsrfTokenHtml}} -