{{if .Flash}} {{template "base/alert" .}} {{end}}
{{.CsrfTokenHtml}}
{{ctx.AvatarUtils.Avatar .SignedUser 40}}
{{if .PageIsComparePull}}
{{ctx.Locale.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0)}}
{{end}}
{{if .Fields}} {{range .Fields}} {{if eq .Type "input"}} {{template "repo/issue/fields/input" dict "item" .}} {{else if eq .Type "markdown"}} {{template "repo/issue/fields/markdown" dict "item" .}} {{else if eq .Type "textarea"}} {{template "repo/issue/fields/textarea" dict "item" . "root" $}} {{else if eq .Type "dropdown"}} {{template "repo/issue/fields/dropdown" dict "item" .}} {{else if eq .Type "checkboxes"}} {{template "repo/issue/fields/checkboxes" dict "item" .}} {{end}} {{end}} {{else}} {{template "repo/issue/comment_tab" .}} {{end}}
{{template "repo/issue/branch_selector_field" $}} {{if .PageIsComparePull}} {{template "repo/issue/sidebar/reviewer_list" $.IssueSidebarReviewersData}}
{{end}} {{template "repo/issue/sidebar/label_list" $.IssueSidebarLabelsData}}
{{ctx.Locale.Tr "repo.issues.new.no_milestone"}}
{{if .IsProjectsEnabled}}
{{ctx.Locale.Tr "repo.issues.new.no_projects"}}
{{end}}
{{ctx.Locale.Tr "repo.issues.new.no_assignees"}}
{{if and .PageIsComparePull (not (eq .HeadRepo.FullName .BaseCompareRepo.FullName)) .CanWriteToHeadRepo}}
{{end}}