From f80dca4b10ecf5b7bc7f037eb2bcbd3ff1988b3b Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Tue, 10 Oct 2023 18:55:34 +0200 Subject: [PATCH] Bei 82870e10 war question.html nicht gespeichert --- templates/question.html | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/templates/question.html b/templates/question.html index e155c95..0ae6f89 100644 --- a/templates/question.html +++ b/templates/question.html @@ -1,14 +1,15 @@ -{{ define "question" }} -
-

Frage {{ .QuestionNumber }} -

{{ .Question }}

Vorname - - - - - - - -

+{{ define "answers" }} +{{ range .Answers }} + + {{ end }} +{{ end }} + +{{ define "content" }} +

Frage {{ .Question.ID }}

+

{{ .Question.Text }}

+ +{{ template "answers" . }} + +