{{ 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 "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/season.seasonForm*/ -}} {{ template "settings-tabs" "seasons" }}

{{ 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 -}} {{ template "error-message" . }} {{- end }} {{ with .Color -}} {{ template "error-message" . }} {{- end }}
{{- end }}