{{- $curMenu := . -}}
{{- $tableVals := (dict) -}}
{{- $children := "" -}}
{{- if .HasChildren -}}
{{- $children = partial "helpers/debug-tables/tables/menus" .Children -}} -}}
{{- end -}}
{{- $tableVals = (dict
".Identifier" .Identifier
".Menu" .Menu
".Name" .Name
".Page" .Page
".Parent" .Parent
".Pre" (printf "%s
" .Pre | safeHTML)
".Post" (printf "%s
" .Post | safeHTML)
".URL" .URL
".Weight" .Weight
".Children" ( $children | safeHTML )
) -}}
{{- partial "helpers/debug-tables/tables/table-html" $tableVals }}