Compare commits

..

2 Commits

View File

@ -42,6 +42,7 @@ 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) {