Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df498c7

Browse files
committedMay 1, 2023
fix tmpl
1 parent 1bdb4e8 commit df498c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<div class="field">
22
{{template "repo/issue/fields/header" .}}
3-
{{template "repo/issue/comment_tab" $}}
3+
{{template "repo/issue/comment_tab" .Context.Data}}
44
</div>

‎templates/repo/issue/new_form.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{{else if eq .Type "checkboxes"}}
3131
{{template "repo/issue/fields/checkboxes" dict "Context" $.Context "item" .}}
3232
{{else if eq .Type "markdowneditor"}}
33-
{{template "repo/issue/fields/markdowneditor" dict "Context" $.Context "item" $}}
33+
{{template "repo/issue/fields/markdowneditor" dict "Context" $.Context "item" .}}
3434
{{end}}
3535
{{end}}
3636
{{if .IsAttachmentEnabled}}

0 commit comments

Comments
 (0)
Please sign in to comment.