{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/campsite/types.optionForm*/ -}} {{ if .ID}} {{( pgettext "Edit Campsite Type Option" "title" )}} {{ else }} {{( pgettext "New Campsite Type Option" "title" )}} {{ end }} {{- end }} {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/campsite/types.optionForm*/ -}}

{{ if .ID }} {{( pgettext "Edit Campsite Type Option" "title" )}} {{ else }} {{( pgettext "New Campsite Type Option" "title" )}} {{ end }}

{{ CSRFInput }}
{{ with .Name -}} {{ template "error-message" . }} {{- end }} {{ with .Min -}} {{- end }} {{ with .Max -}} {{- end }} {{ with .Prices }}
{{( pgettext "Prices" "title" )}} {{ range . }}
{{ .SeasonName }} {{ with .PricePerNight -}} {{- end }}
{{- end }}
{{- end }}
{{- end }}