Skip to content

Commit 4415328

Browse files
committed
update question types
Signed-off-by: Aabid Sofi <[email protected]>
1 parent 1594375 commit 4415328

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/test/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,11 @@ <h1>{{ $title }}</h1>
255255
<div class="question-number">Question {{ add $index 1 }}</div>
256256
<div class="question-text">{{ $question.text }}</div>
257257

258-
{{ if or ( eq $question.type "single_answer") ( eq $question.type "multiple_answers" ) }}
258+
{{ if or ( eq $question.type "single-answer") ( eq $question.type "multiple-answers" ) }}
259259
{{ range $optIndex, $option := $question.options }}
260260
<div class="option">
261261
<label>
262-
{{ if eq $question.type "multiple_answers" }}
262+
{{ if eq $question.type "multiple-answers" }}
263263
<input type="checkbox" name="selected_option_ids_{{ $question.id }}" value="{{ $option.id }}">
264264
{{ else }}
265265
<input type="radio" name="selected_option_ids_{{ $question.id }}" value="{{ $option.id }}">

0 commit comments

Comments
 (0)