aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/comment_tab.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/comment_tab.tmpl')
-rw-r--r--templates/repo/issue/comment_tab.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/repo/issue/comment_tab.tmpl b/templates/repo/issue/comment_tab.tmpl
index 86efa8c833..b04a3c6bbb 100644
--- a/templates/repo/issue/comment_tab.tmpl
+++ b/templates/repo/issue/comment_tab.tmpl
@@ -2,15 +2,15 @@
<input type="hidden" name="template-file" value="{{.TemplateFile}}">
{{range .Fields}}
{{if eq .Type "input"}}
- {{template "repo/issue/fields/input" .}}
+ {{template "repo/issue/fields/input" Dict "Context" $.Context "item" .}}
{{else if eq .Type "markdown"}}
- {{template "repo/issue/fields/markdown" .}}
+ {{template "repo/issue/fields/markdown" Dict "Context" $.Context "item" .}}
{{else if eq .Type "textarea"}}
- {{template "repo/issue/fields/textarea" .}}
+ {{template "repo/issue/fields/textarea" Dict "Context" $.Context "item" .}}
{{else if eq .Type "dropdown"}}
- {{template "repo/issue/fields/dropdown" .}}
+ {{template "repo/issue/fields/dropdown" Dict "Context" $.Context "item" .}}
{{else if eq .Type "checkboxes"}}
- {{template "repo/issue/fields/checkboxes" .}}
+ {{template "repo/issue/fields/checkboxes" Dict "Context" $.Context "item" .}}
{{end}}
{{end}}
{{else}}