diff --git a/internal/teacherteams.go b/internal/teacherteams.go index 4fd20ff..db8c642 100644 --- a/internal/teacherteams.go +++ b/internal/teacherteams.go @@ -93,14 +93,18 @@ func (a *Application) HandleTeacherTeamEdit(w http.ResponseWriter, r *http.Reque } teamName := r.FormValue("team-name") - inPerson := r.FormValue("team-location") == "in-person" - teamDivision, err := database.ParseDivision(r.FormValue("team-division")) - if err != nil { - log.Warn().Err(err).Msg("Failed to parse team division") - w.WriteHeader(http.StatusInternalServerError) - return - } - teamDivisionExplanation := r.FormValue("team-division-explanation") + // inPerson := r.FormValue("team-location") == "in-person" + // teamDivision, err := database.ParseDivision(r.FormValue("team-division")) + // if err != nil { + // log.Warn().Err(err).Msg("Failed to parse team division") + // w.WriteHeader(http.StatusInternalServerError) + // return + // } + // teamDivisionExplanation := r.FormValue("team-division-explanation") + + inPerson := true + teamDivision := database.DivisionBeginner + teamDivisionExplanation := "only one division" teamIDStr := r.URL.Query().Get("team_id") var teamID uuid.UUID diff --git a/website/templates/student.html b/website/templates/student.html index 85259e8..4555095 100644 --- a/website/templates/student.html +++ b/website/templates/student.html @@ -81,14 +81,14 @@
- Your team has been registered for the in-person competition. Lunch will - be provided, and you have the option to take a campus tour after the - competition. + + Lunch will be provided, and you have the option to take a campus tour after + the competition.