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

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

{{ $list.Description }}

    {{ range $index, $lg := $list.Grils }}
  • {{ $lg.Gril.RomajiName }}
    {{ $lg.Gril.KanjiName }}
    {{ if ($user) and eq $user.ID $list.Owner.ID }}
    keyboard_arrow_up keyboard_arrow_down
    delete
    keyboard_arrow_up keyboard_arrow_down delete
    {{ end }}
  • {{ end }}
{{ if ($user) and eq $user.ID $list.Owner.ID }}
Gril hinzufügen
close
{{ end }}
{{ end }}