diff --git a/templates/pages/categories.html b/templates/pages/categories.html index ba5aa70..07dee3e 100644 --- a/templates/pages/categories.html +++ b/templates/pages/categories.html @@ -19,9 +19,25 @@ {{else}}
{{end}} - {{.Name}}
+ {{.Name}} delete + + + + {{range $child := .Children}} {{template "row-category" $child}} {{end}} +{{end}} + +{{define "option-category"}} + + {{range $child := .Children}} + {{template "option-category" $child}} + {{end}} {{end}} \ No newline at end of file