updated for nested category
This commit is contained in:
parent
c21afbe7a8
commit
53129bb4b5
|
@ -28,10 +28,11 @@
|
||||||
<input type="radio" name="priority" value="1" /> Low
|
<input type="radio" name="priority" value="1" /> Low
|
||||||
</div>
|
</div>
|
||||||
Category:
|
Category:
|
||||||
<select name="category">
|
<select name="category" class="dropdown">
|
||||||
<option>---</option>
|
<option>---</option>
|
||||||
{{range .Categories}}
|
{{$categories := .Categories}}
|
||||||
<option value="{{.}}" > {{.}} </option>
|
{{range $cat := $categories}}
|
||||||
|
<option value="{{$cat.Name}}" > {{$cat.Name}} </option>
|
||||||
{{end}}
|
{{end}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue