@page
@model Quizzer.Pages.QuestionsModel
@Html.AntiForgeryToken()
@{
ViewData["Title"] = "Quizzer";
Layout = "_Layout-teacher";
}
| Correct |
Text |
@if (Model.questionCookie.AList != null)
{
@for (var indx = 0; indx < Model.questionCookie.AList.Count(); indx++)
{
|
|
|
}
}
@if (Model.questionCookie.Category != null && Model.questionsInCat != null)
{
Questions in selected category : @Model.questionsInCat.Count()
|
|
| Question |
Delete |
@foreach (var item in Model.mcQuestionsInCat)
{
|
@item.QuestionText
@foreach (var altItem in item.AList)
{
@if (altItem.Aok)
{
@altItem.Atxt
}
else
{
@altItem.Atxt
}
}
|
|
}
}