aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--routes/repo/issue.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/repo/issue.go b/routes/repo/issue.go
index 67071a44..55786f8f 100644
--- a/routes/repo/issue.go
+++ b/routes/repo/issue.go
@@ -345,6 +345,8 @@ func NewIssue(c *context.Context) {
c.Data["PageIsIssueList"] = true
c.Data["RequireHighlightJS"] = true
c.Data["RequireSimpleMDE"] = true
+ c.Data["title"] = c.Query("title")
+ c.Data["content"] = c.Query("content")
setTemplateIfExists(c, ISSUE_TEMPLATE_KEY, IssueTemplateCandidates)
renderAttachmentSettings(c)