{{/* gotype: github.com/JustaPenguin/assetto-server-manager.signedUpEntrantsTemplateVars*/}} {{ define "title" }}{{ $.Championship.Name }} Entrants{{ end }} {{ define "content" }}

{{ $.Championship.Name }} Entrants

{{ with .Championship }} {{ $championship := .}}
Back to Championship
{{ if $championship.SignUpForm.AskForEmail }} {{ end }} Export CSV
{{ with $.DriverRatings }} {{ end }} {{ if $championship.SignUpForm.AskForTeam }} {{ end }} {{ if $championship.SignUpForm.AskForEmail }} {{ end }} {{ if not $championship.SignUpForm.HideCarChoice }} {{ end }} {{ range $index, $entrant := .SignUpForm.Responses }} {{ with $.DriverRatings }} {{ end }} {{ if $championship.SignUpForm.AskForTeam }} {{ end }} {{ if $championship.SignUpForm.AskForEmail }} {{ end }} {{ if not $championship.SignUpForm.HideCarChoice }} {{ end }} {{ end }}
Created NameRatingTeamGUIDEmailCar / SkinStatus Actions
{{ timeFormat $entrant.Created }} on {{ dateFormat $entrant.Created }} {{ $entrant.Name }} {{ template "acsr-rating" dict "DriverRatings" $.DriverRatings "GUID" $entrant.GUID }} {{ $entrant.Team }} {{ $entrant.GUID }} {{ $entrant.Email }} {{ prettify $entrant.Car true }} / {{ prettify $entrant.Skin true }} {{ $entrant.Status }} {{ if gt (len $championship.SignUpForm.ExtraFields) 0 }} {{ end }}
{{ end }} {{ end }}