diff options
Diffstat (limited to 'templates/repo/issue/new_form.tmpl')
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index 196e911061..c12b8149b0 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -24,18 +24,13 @@ {{else if eq .Type "markdown"}} {{template "repo/issue/fields/markdown" dict "Context" $.Context "item" .}} {{else if eq .Type "textarea"}} - {{template "repo/issue/fields/textarea" dict "Context" $.Context "item" .}} + {{template "repo/issue/fields/textarea" dict "Context" $.Context "item" . "root" $}} {{else if eq .Type "dropdown"}} {{template "repo/issue/fields/dropdown" dict "Context" $.Context "item" .}} {{else if eq .Type "checkboxes"}} {{template "repo/issue/fields/checkboxes" dict "Context" $.Context "item" .}} {{end}} {{end}} - {{if .IsAttachmentEnabled}} - <div class="field"> - {{template "repo/upload" .}} - </div> - {{end}} {{else}} {{template "repo/issue/comment_tab" .}} {{end}} |