{{ define "content" }}
{{$options := ` title: "Scuole" buttonTitle: "Crea nuova scuola" `}} {{template "read_all_header" dict "options" ($options | yaml) "lengthData" (len .Data) "modelPath" (create "School")}} {{template "search_input"}} {{if not .}} {{template "display_no_elements"}} {{else}}
{{range $element := .Data}} {{$element|string}}
{{$options := `noElements: "no subelements"`}} {{/*template "small" dict "options" ($options | yaml) "data" $element.SubElements*/}}
{{end}} {{end}}
{{ end }}