правка
This commit is contained in:
parent
39db4b0bd9
commit
334256a8f4
@ -12,13 +12,19 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="repair">Выберите ремонт</label>
|
<label for="repair">Выберите ремонт</label>
|
||||||
<select id="repair" name="repair" class="form-control">
|
<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>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="defect">Выберите неисправность</label>
|
<label for="defect">Выберите неисправность</label>
|
||||||
<select id="defect" name="defect" class="form-control">
|
<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>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user