// championshipEventConfigurationHandler builds a Custom Race form with slight modifications
// to allow a user to configure a ChampionshipEvent.
championshipEventConfigurationHandler builds a Custom Race form with slight modifications
to allow a user to configure a ChampionshipEvent.
// championshipEventConfigurationHandler builds a Custom Race form with slight modifications // to allow a user to configure a ChampionshipEvent .
func championshipEventConfigurationHandler(w http.ResponseWriter, r *http.Request) {
	championshipRaceOpts, err := championshipManager.BuildChampionshipEventOpts(r)
	if err != nil {
		logrus.Errorf("couldn't build championship race, err: %s", err)
		http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
		return
	}
	ViewRenderer.MustLoadTemplate(w, r, "custom-race/new.html", championshipRaceOpts)
}
func championshipEventConfigurationHandler ( w http . ResponseWriter , r * http . Request ) { championshipRaceOpts , err := championshipManager . BuildChampionshipEventOpts ( r ) if err != nil { logrus . Errorf ( " " , err ) http . Error ( w , http . StatusText ( http . StatusInternalServerError ) , http . StatusInternalServerError ) return } ViewRenderer . MustLoadTemplate ( w , r , " " , championshipRaceOpts ) }
championshipEventConfigurationHandler builds a Custom Race form with slight modifications
to allow a user to configure a ChampionshipEvent.
championshipEventConfigurationHandler builds a Custom Race form with slight modifications to allow a user to configure a ChampionshipEvent .