{{ define "content" }}
{{$options := ` title: "Documenti" buttonTitle: "Crea nuovo documento" `}} {{template "read_all_header" dict "options" ($options | yaml) "lengthData" (len .Data) "modelPath" (create "Document")}} {{template "search_input"}} {{if not .}} {{template "display_no_elements"}} {{else}}
{{range $document := .Data}} {{$document.Name}}
{{$options := `noElements: "nessun tipo"`}} {{template "small" dict "options" ($options | yaml) "data" $document.GeneratorType}}
{{end}} {{end}}
{{ end }}