File tree Expand file tree Collapse file tree 1 file changed +36
-15
lines changed
app/pods/components/question-preview Expand file tree Collapse file tree 1 file changed +36
-15
lines changed Original file line number Diff line number Diff line change 11<div >
2- <h3 >Question - {{ question.title }} </h3 >
3- <p ><b >Description -</b > {{ question.description }} </p >
2+ <h3 >
3+ <div class =" row justify-content-center align-items-center m-0 p-0" >
4+ <div class =" col-4" >
5+ Question -
6+ </div >
7+ <div class =" col" >
8+ {{ markdown-to-html question.title }}
9+ </div >
10+ </div >
11+
12+ </h3 >
13+ <p ><b >Description -</b > {{ markdown-to-html question.description }} </p >
414 <br >
15+
516 {{ #each question.choices as |choice |}}
6- {{ #if question.multicorrect }}
7- {{ input type =" checkbox" checked = (mark-option question.id choice.id answers ) name =" questionChoices"
8- click = (action " selectChoiceAndMark" question.id choice.id )}}
9- {{ choice.title }}
10- <br >
11- {{ else }}
12- {{ #radio-button value =choice.id groupValue =selectedChoice name =" questionChoices"
13- changed = (action " selectChoiceAndMark" question.id choice.id )}}
14- {{ choice.title }}
15- {{ /radio-button }}
16- <br >
17- {{ /if }}
18- {{ choice.description }} <br ><br >
17+ <div class =" row justify-content-center align-items-center m-0 p-0" >
18+ {{ #if question.multicorrect }}
19+ <div class =" col-1 input-group" >
20+ {{ input type =" checkbox" checked = (mark-option question.id choice.id answers )
21+ name =" questionChoices" click = (action " selectChoiceAndMark" question.id choice.id )}}
22+ </div >
23+ <div class =" col" >
24+ {{ markdown-to-html choice.title extensions =' katex' }}
25+ </div >
26+ {{ else }}
27+ <div class =" col-1 input-group" >
28+ {{ #radio-button value =choice.id groupValue =selectedChoice name =" questionChoices"
29+ changed = (action " selectChoiceAndMark" question.id choice.id )}}
30+ {{ /radio-button }}
31+ </div >
32+ <div class =" col" >
33+ {{ markdown-to-html choice.title extensions =' katex' }}
34+ </div >
35+ {{ /if }}
36+ </div >
37+ <div class =" row align-items-center m-0 p-0" >
38+ {{ markdown-to-html choice.description }}
39+ </div >
1940 {{ /each }}
2041 <br ><br >
2142</div >
You can’t perform that action at this time.
0 commit comments