File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 22 <input type="hidden" name="template-file" value="{{.TemplateFile}}">
33 {{range .Fields}}
44 {{if eq .Type "input"}}
5- {{template "repo/issue/fields/input" Dict "ctx " $.Context "item" .}}
5+ {{template "repo/issue/fields/input" Dict "Context " $.Context "item" .}}
66 {{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" .}}
88 {{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" .}}
1010 {{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" .}}
1212 {{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" .}}
1414 {{end}}
1515 {{end}}
1616{{else}}
Original file line number Diff line number Diff line change 22 <h3>{{.item.Attributes.label}}{{if .item.Validations.required}}<label class="required"></label>{{end}}</h3>
33{{end}}
44{{if .item.Attributes.description}}
5- <span class="help">{{RenderMarkdownToHtml .ctx .item.Attributes.description}}</span>
5+ <span class="help">{{RenderMarkdownToHtml .Context .item.Attributes.description}}</span>
66{{end}}
Original file line number Diff line number Diff line change 11<div class="field">
2- <div>{{RenderMarkdownToHtml .ctx .item.Attributes.value}}</div>
2+ <div>{{RenderMarkdownToHtml .Context .item.Attributes.value}}</div>
33</div>
You can’t perform that action at this time.
0 commit comments