diff --git a/layouts/test/single.html b/layouts/test/single.html index 849a158..ded6559 100644 --- a/layouts/test/single.html +++ b/layouts/test/single.html @@ -271,26 +271,52 @@

{{ $title }}

Select all that apply
{{ else if eq $question.type "single-answer" }}
Select one answer
+ {{ else if eq $question.type "true-false" }} +
Select True or False
{{ else if eq $question.type "short-answer" }}
Type your answer below
{{ end }} {{ end }} - {{ if or ( eq $question.type "single-answer") ( eq $question.type "multiple-answers" ) }} + {{ if eq $question.type "single-answer" }} {{ range $optIndex, $option := $question.options }}
{{ end }} + {{ end }} + + {{ if eq $question.type "multiple-answers" }} + {{ range $optIndex, $option := $question.options }} +
+ +
+ {{ end }} + {{ end }} - {{ else if (eq $question.type "short-answer") }} + {{ if eq $question.type "true-false" }} + +
+ +
+
+ +
+ {{ end }} + + {{ if eq $question.type "short-answer" }} {{ end }} @@ -349,9 +375,9 @@

{{ $title }}

{{ $tesAbsPath := .RelPermalink }} -{{ end }} +{{ end }} \ No newline at end of file