CourseWork/University/UniversityClientAppWorker/Views/Home/InfoAttestation.cshtml

39 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-05-29 21:59:17 +04:00
@using UniversityContracts.ViewModels
@model AttestationViewModel
@{
2024-05-29 22:48:30 +04:00
ViewData["Title"] = "План обучения";
2024-05-29 21:59:17 +04:00
}
<div class="text-center">
2024-05-29 22:48:30 +04:00
<h2 class="display-4">@ViewData["Title"]</h2>
2024-05-29 21:59:17 +04:00
</div>
<form asp-action="UpdateAttestation" method="post">
<div class="row">
<div class="col-4">Форма оценивания:</div>
<div class="col-8">
<select name="formOfEvaluation" id="formOfEvaluation" class="form-control" value="@Model.FormOfEvaluation">
<option value="Зачёт">Зачёт</option>
<option value="Экзамен">Экзамен</option>
<option value="Дифферинцируемый зачёт">Дифферинцируемый зачёт</option>
</select>
</div>
</div>
<div class="row">
<div class="col-4">Студент:</div>
<div class="col-8">
<select name="student" id="student" class="form-control" asp-items="@(new SelectList(ViewBag.Students, "Id", "Name", Model.StudentId))"></select>
</div>
</div>
<div class="row">
<div class="col-4">Оценка:</div>
<div class="col-8">
2024-05-29 22:48:30 +04:00
<select id="score" name="score" class="form-control" asp-items="@(new SelectList(ViewBag.AttestationScore, "Score"))"></select>
2024-05-29 21:59:17 +04:00
</div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4 mt-2">
2024-05-29 22:48:30 +04:00
<input type="hidden" name="id" value="@Model.Id" />
2024-05-29 21:59:17 +04:00
<input type="submit" value="Сохранить" class="btn btn-primary" />
</div>
</div>
</form>