{{ define "title"}}Import Custom Race{{ end }} {{ define "custom-race-championship-import" }} {{ $writeAccess := WriteAccess }} {{ $championship := .Championship }}
{{ if $writeAccess }} {{ end }} {{ range $index, $race := .Races }} {{ if $writeAccess }} {{ end }} {{ end }}
Details CreatedActions
{{ template "race-card" $race }}
{{ $race.Name }}
{{ timeFormat $race.Created }}
{{ dateFormat $race.Created }}
Import
{{ end }} {{ define "content" }}

Import Custom Race to {{ .Championship.Name }} Championship

{{ if gt (len .Starred) 0 }}

Starred

{{ template "custom-race-championship-import" dict "Races" .Starred "Championship" .Championship }} {{ end }} {{ if gt (len .Scheduled) 0 }}

Scheduled

{{ template "custom-race-championship-import" dict "Races" .Scheduled "Championship" .Championship }} {{ end }} {{ if gt (len .Loop) 0 }}

Auto Loop

{{ template "custom-race-championship-import" dict "Races" .Loop "Championship" .Championship }} {{ end }} {{ if gt (len .Recent) 0 }}

Recent

{{ template "custom-race-championship-import" dict "Races" .Recent "Championship" .Championship }} {{ end }} {{ end }}