{{if .Fields}} {{range .Fields}} {{if eq .Type "input"}} {{template "repo/issue/fields/input" .}} {{else if eq .Type "markdown"}} {{template "repo/issue/fields/markdown" .}} {{else if eq .Type "textarea"}} {{template "repo/issue/fields/textarea" .}} {{else if eq .Type "dropdown"}} {{template "repo/issue/fields/dropdown" .}} {{else if eq .Type "checkboxes"}} {{template "repo/issue/fields/checkboxes" .}} {{end}} {{end}} {{else}}
{{.locale.Tr "loading"}}
{{end}} {{if .IsAttachmentEnabled}}
{{template "repo/upload" .}}
{{end}}