{{ define "list" }} {{ $list := .list }} {{ $user := .user }} {{ template "materialize" }} grilist {{ template "navbar" . }}

{{ $list.Name }}von {{ $list.Owner.GetName }}

{{ $list.Description }}

    {{ range $index, $lg := $list.Grils }} {{ template "list_gril" makeRangePair $index (makeObject "Gril" $lg "IsListOwner" (and ($user) (eq $user.ID $list.Owner.ID) )) }} {{ end }}
{{ if ($user) and eq $user.ID $list.Owner.ID }}
Gril hinzufügen
close
{{ end }}
{{ end }}