правка
This commit is contained in:
parent
39db4b0bd9
commit
334256a8f4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user