{{/* gotype: github.com/cj123/assetto-server-manager.ChampionshipTemplateVars */}} {{ define "title" }} {{ if .IsEditing }} Edit the {{ .Championship.Name }} Championship {{ else }} Create a new Championship {{ end }} {{ end }} {{ define "content" }} {{ $f := .Championship }} {{ $ACSREnabled := .ACSREnabled }}

{{ if .IsEditing }} Edit the {{ .Championship.Name }} Championship {{ else }} Create a new Championship {{ end }}

Championship {{ if .IsEditing }} {{ end }}
{{ if gt $.MaxClientsOverride 0 }}

Your server is restricted to a maximum of {{ $.MaxClientsOverride }} championship entrants.

{{ else }} {{ end }} {{ if $ACSREnabled }}


If enabled then entrants in this championship will be (anonymously) tracked by our skill and safety rating system! This championship will also be made publicly available for people to sign up from ACSR. For more information about ACSR and how it works, visit Assetto Corsa Skill Ratings.
Forces Open Championship off, Sign Up Form on and Password off.
{{ end }}


An Open Championship allows anyone to join a Championship Event provided that the Championship still has empty entrant slots. As new Entrants join, the Championship Entrant slots will be filled. It is possible to edit the slots (e.g. to assign teams) by using the Edit Championship functionality.


With this option enabled, when a Driver joins an Open Championship Event their details will be added to the Entry List below. This option is enabled by default. With this option disabled, Entrants will not be added to the Entry List for a Championship and Events will start with an 'empty' Entry List each time (i.e. no drivers are added to the car choices you configure). Their results will still persist to the Championship. Turn this off if you are running a Championship with a lot of changing Entrants (e.g. quick fire events all in one go).


If enabled then the server password will be ignored for all events in this championship.
{{ if .IsEditing }}{{ with .Championship.Info }}
{{ . }}
{{ end }}{{ end }}
Important information is shown at the top of a Championship page and on Sign Up pages (if enabled).
Sign Up Form


Allow anyone to access a Sign Up form where they can register to be added into the EntryList of a Championship.
{{ range $classIndex, $class := $f.Classes }} {{ template "championship-class" dict "IsEditing" $.IsEditing "CarOpts" $.CarOpts "Championship" $.Championship "Class" $class "DefaultPoints" $.DefaultPoints "MaxClientsOverride" $.MaxClientsOverride }} {{ else }} {{ template "championship-class" dict "IsEditing" $.IsEditing "CarOpts" $.CarOpts "Championship" $.Championship "Class" $.DefaultClass "DefaultPoints" $.DefaultPoints "MaxClientsOverride" $.MaxClientsOverride }} {{ end }}

{{ if .IsEditing }} {{ else }}
{{ end }}
{{ end }}