{{ $model := . }} {{ $place := $model.result.Place }}
Ort

{{- if $model.is_new -}} Neuen Ort anlegen {{- else -}} {{- $place.Name -}} {{- end -}}

{{- if not $model.is_new -}} {{- end -}}
{{- if not $model.is_new -}}
Datenbank-ID
{{ $place.Id }}
Navigation
{{- if $model.result.Prev -}}
{{ $model.result.Prev.Name }}
{{- end -}} A - Z {{- if $model.result.Next -}}
{{ $model.result.Next.Name }}
{{- end -}}
Zuletzt bearbeitet
{{ GermanDate $place.Updated }}, {{ GermanTime $place.Updated }}h
{{- if $model.result.User -}}{{ $model.result.User.Name }}{{- end -}}
{{- end -}}
{{ template "_usermessage" $model }}
{{ template "_annotation_field" (Arr $place.Annotation "Annotation") }}
{{ template "_status_edit" (Arr $place "status" "status") }}
{{ template "_linked_items" (Arr $model.result.Entries nil nil nil nil) }}

Abbrechen {{- if not $model.is_new -}} Reset {{- end -}}
{{- if not $model.is_new -}}
Ort löschen?
{{ $place.Name }}

Der Ort wird gelöscht und aus allen verknüpften Bänden entfernt.

Betroffene Bände
{{- if $model.result.Entries -}}
    {{- range $entry := $model.result.Entries -}}
  • {{ $entry.PreferredTitle }} {{ $entry.Year }}
  • {{- end -}}
{{- else -}}
Keine Bände betroffen.
{{- end -}}
{{- end -}}