правка

This commit is contained in:
Табеев Александр 2024-05-29 00:00:27 +04:00
parent 39db4b0bd9
commit 334256a8f4

View File

@ -12,13 +12,19 @@
<div class="form-group">
<label for="repair">Выберите ремонт</label>
<select id="repair" name="repair" class="form-control">
@* тут будет код *@
@foreach (var repair in Model.Item1)
{
<option value="@repair.Id">@Html.DisplayFor(modelItem => repair.RepairName)</option>
}
</select>
</div>
<div class="form-group">
<label for="defect">Выберите неисправность</label>
<select id="defect" name="defect" class="form-control">
@* тут будет код *@
@foreach (var defect in Model.Item2)
{
<option value="@defect.Id">@Html.DisplayFor(modelItem => defect.DefectType)</option>
}
</select>
</div>
<br>