{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/season.seasonForm*/ -}} {{ if .Slug}} {{( pgettext "Edit Season" "title" )}} {{ else }} {{( pgettext "New Season" "title" )}} {{ end }} {{- end }} {{ define "breadcrumb" -}}
  • {{( pgettext "Season" "title" )}}
  • {{- end }} {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/season.seasonForm*/ -}}

    {{ if .Slug }} {{( pgettext "Edit Season" "title" )}} {{ else }} {{( pgettext "New Season" "title" )}} {{ end }}

    {{ CSRFInput }}
    {{ if .Slug }} {{ with .Active -}} {{ template "error-message" . }} {{- end }} {{ else }} {{ end }} {{ with .Name -}}
    {{( pgettext "Name" "input")}} {{ template "lang-selector" . }} {{ range $lang, $input := . -}} {{- end }} {{ template "error-message" . }}
    {{- end }} {{ with .Color -}} {{ template "error-message" . }} {{- end }}
    {{- end }}