{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/booking.adminBookingForm*/ -}} {{ CSRFInput }}
{{ with .CampsiteType -}} {{- end }} {{ with .Dates -}}
{{ with .ArrivalDate -}} {{- end }} {{ with .DepartureDate -}} {{- end }}
{{- end }} {{ with .Options -}} {{ with .ZonePreferences -}} {{- end }} {{- end }} {{ with $guests := .Guests -}} {{ $draft := $.Cart.Draft }}
{{ with .NumberAdults -}} {{- end }} {{ with .NumberTeenagers -}} {{- end }} {{ with .NumberChildren -}} {{- end }} {{ with .NumberDogs -}} {{- end }} {{ with $.Options -}} {{ range .Options -}} {{- end }} {{- end }}
{{( pgettext "Units" "header" )}} {{( pgettext "Decription" "header" )}} {{( pgettext "Total" "header" )}}
{{ $draft.NumNights }} {{( pgettext "Night" "cart" )}} {{ formatPrice $draft.Nights }}

{{ template "error-message" . }}
{{ formatPrice $draft.Adults }}

{{ template "error-message" . }}
{{ formatPrice $draft.Teenagers }}

{{ template "error-message" . }}
{{ formatPrice $draft.Children }}

{{ template "error-message" . }}
{{ formatPrice $draft.Dogs }}

{{ template "error-message" .Input }}
{{ formatPrice .Subtotal }}
{{ $draft.NumAdults }} {{( pgettext "Tourist tax" "cart" )}} {{ formatPrice $draft.TouristTax }}
{{( pgettext "Total" "header" )}} {{ formatPrice $draft.Total }}
{{ if not .NumberDogs -}} {{( gettext "Note: This accommodation does not allow dogs.") | raw }} {{- end }} {{ if .Error -}}

{{ .Error }}

{{- end }}
{{- end }} {{ with .Customer -}}
{{( pgettext "Customer Details" "title" )}} {{ with .FullName -}} {{- end }} {{ with .Country -}} {{- end }} {{ with .Address -}} {{- end }} {{ with .PostalCode -}} {{- end }} {{ with .City -}} {{- end }} {{ with .Email -}} {{- end }} {{ with .Phone -}} {{- end }} {{ with $.Guests.ACSICard -}} {{- end }}
{{- end }} {{ if .Campsites -}}

{{( pgettext "Campsites" "title" )}}

{{ template "grid.gohtml" . }} {{- end }}
{{ define "campsite-heading" -}} {{- end }}