diff --git a/packages/session/handlerFuncs.go b/packages/session/handlerFuncs.go index 851296a..2b003a7 100644 --- a/packages/session/handlerFuncs.go +++ b/packages/session/handlerFuncs.go @@ -204,7 +204,7 @@ func (s *Session) HandleAnswer(db *data.DB, p *BriefingParticipant, i int64) htt SessionID: s.ID, BriefingParticipant: *p, }, - Questions: makeHTMLQuestions(s.Questions, p.GivenAnswers), + Questions: makeResultQuestions(s.Questions, p.GivenAnswers), } if data.NoIncorrect == 0 { @@ -248,7 +248,7 @@ func (s *Session) HandleRetry(p *BriefingParticipant, i *int) http.HandlerFunc { SessionID: s.ID, BriefingParticipant: *p, }, - Questions: makeHTMLQuestions(s.Questions, p.GivenAnswers), + Questions: makeResultQuestions(s.Questions, p.GivenAnswers), } template.Must(template.ParseFiles("templates/result.html")).ExecuteTemplate(w, "content", data)