File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
<input type="hidden" name="template-file" value="{{.TemplateFile}}">
3
3
{{range .Fields}}
4
4
{{if eq .Type "input"}}
5
- {{template "repo/issue/fields/input" Dict "ctx " $.Context "item" .}}
5
+ {{template "repo/issue/fields/input" Dict "Context " $.Context "item" .}}
6
6
{{else if eq .Type "markdown"}}
7
- {{template "repo/issue/fields/markdown" Dict "ctx " $.Context "item" .}}
7
+ {{template "repo/issue/fields/markdown" Dict "Context " $.Context "item" .}}
8
8
{{else if eq .Type "textarea"}}
9
- {{template "repo/issue/fields/textarea" Dict "ctx " $.Context "item" .}}
9
+ {{template "repo/issue/fields/textarea" Dict "Context " $.Context "item" .}}
10
10
{{else if eq .Type "dropdown"}}
11
- {{template "repo/issue/fields/dropdown" Dict "ctx " $.Context "item" .}}
11
+ {{template "repo/issue/fields/dropdown" Dict "Context " $.Context "item" .}}
12
12
{{else if eq .Type "checkboxes"}}
13
- {{template "repo/issue/fields/checkboxes" Dict "ctx " $.Context "item" .}}
13
+ {{template "repo/issue/fields/checkboxes" Dict "Context " $.Context "item" .}}
14
14
{{end}}
15
15
{{end}}
16
16
{{else}}
Original file line number Diff line number Diff line change 2
2
<h3>{{.item.Attributes.label}}{{if .item.Validations.required}}<label class="required"></label>{{end}}</h3>
3
3
{{end}}
4
4
{{if .item.Attributes.description}}
5
- <span class="help">{{RenderMarkdownToHtml .ctx .item.Attributes.description}}</span>
5
+ <span class="help">{{RenderMarkdownToHtml .Context .item.Attributes.description}}</span>
6
6
{{end}}
Original file line number Diff line number Diff line change 1
1
<div class="field">
2
- <div>{{RenderMarkdownToHtml .ctx .item.Attributes.value}}</div>
2
+ <div>{{RenderMarkdownToHtml .Context .item.Attributes.value}}</div>
3
3
</div>
You can’t perform that action at this time.
0 commit comments