Skip to content

Commit

Permalink
fix tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed May 1, 2023
1 parent 1bdb4e8 commit df498c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/repo/issue/fields/markdowneditor.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="field">
{{template "repo/issue/fields/header" .}}
{{template "repo/issue/comment_tab" $}}
{{template "repo/issue/comment_tab" .Context.Data}}
</div>
2 changes: 1 addition & 1 deletion templates/repo/issue/new_form.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{{else if eq .Type "checkboxes"}}
{{template "repo/issue/fields/checkboxes" dict "Context" $.Context "item" .}}
{{else if eq .Type "markdowneditor"}}
{{template "repo/issue/fields/markdowneditor" dict "Context" $.Context "item" $}}
{{template "repo/issue/fields/markdowneditor" dict "Context" $.Context "item" .}}
{{end}}
{{end}}
{{if .IsAttachmentEnabled}}
Expand Down

0 comments on commit df498c7

Please sign in to comment.