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" . }} + +