We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5ab14 commit a5d4a8aCopy full SHA for a5d4a8a
1 file changed
Web/Resgrid.Web/Areas/User/Views/Trainings/Edit.cshtml
@@ -231,8 +231,8 @@
231
foreach (var answer in question.Answers)
232
{
233
<div style="margin-bottom: 5px;">
234
- <input type="radio" name="answer_@qIndex" value="answerForQuestion_@qIndex_@aIndex" @(answer.Correct ? "checked" : "") /> Correct
235
- <input type="text" name="answerForQuestion_@qIndex_@aIndex" value="@answer.Answer" class="form-control" style="display:inline-block; width:auto;" />
+ <input type="radio" name="answer_@(qIndex)" value="answerForQuestion_@(qIndex)_@(aIndex)" @(answer.Correct ? "checked" : "") /> Correct
+ <input type="text" name="answerForQuestion_@(qIndex)_@(aIndex)" value="@answer.Answer" class="form-control" style="display:inline-block; width:auto;" />
236
</div>
237
aIndex++;
238
}
0 commit comments