From 1e5faf9b609fa230d763bccdd8520441c5498a15 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sun, 6 Apr 2025 10:04:22 +0300 Subject: Feat: add mixed exercsises --- internal/handlers/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/handlers') diff --git a/internal/handlers/main.go b/internal/handlers/main.go index b6ce093..34f37d9 100644 --- a/internal/handlers/main.go +++ b/internal/handlers/main.go @@ -171,7 +171,7 @@ func (h *Handlers) renderQuestion(w http.ResponseWriter, question *models.Questi *models.Question } - err = tmpl.ExecuteTemplate(w, "main", question) + err = tmpl.ExecuteTemplate(w, "question", question) if err != nil { h.log.Error("failed to render template", "error", err) } -- cgit v1.2.3