i und j sollten jetzt korrekt verwendet werden

This commit is contained in:
Jason Streifling 2023-10-05 17:01:13 +02:00
parent 61c895d53f
commit ea0fdee0e0

View File

@ -42,7 +42,6 @@ func main() {
})
mux.HandleFunc("/add-participant/", func(w http.ResponseWriter, r *http.Request) {
i++
j = i
template.Must(template.ParseFiles("templates/index.html", "templates/participant.html")).ExecuteTemplate(w, "participant", i)
})
mux.HandleFunc("/submit/", func(w http.ResponseWriter, r *http.Request) {