{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/carousel.slideForm*/ -}} {{ if .ID}} {{( pgettext "Edit Highlight" "title" )}} {{ else }} {{( pgettext "New Highlight" "title" )}} {{ end }} {{- end }} {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/surroundings.highlightForm*/ -}}

{{ if .ID }} {{( pgettext "Edit Highlight" "title" )}} {{ else }} {{( pgettext "New Highlight" "title" )}} {{ end }}

{{ CSRFInput }}
{{ with .Media -}} {{ template "media-picker" . }} {{- end }} {{ with .Name -}}
{{( pgettext "Name" "input")}} {{ template "lang-selector" . }} {{ range $lang, $input := . -}} {{- end }} {{ template "error-message" . }}
{{- end }} {{ with .Description -}}
{{( pgettext "Description" "input")}} {{ template "lang-selector" . }} {{ range $lang, $input := . -}} {{- end }} {{ template "error-message" . }}
{{- end }}
{{- end }}