mirror of
https://github.com/gogs/gogs.git
synced 2026-07-09 01:43:30 +02:00
routes/repo/issue: implement issue pre-filling (#5521)
Signed-off-by: Charles Kenney <charlesc.kenney@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user