29 lines
978 B
Plaintext
29 lines
978 B
Plaintext
|
@{
|
||
|
ViewData["Title"] = "ComponentToBuild";
|
||
|
}
|
||
|
<div class="text-center mb-5">
|
||
|
<h2 class="display-4">Добавить комплектующие в сборку</h2>
|
||
|
</div>
|
||
|
<form method="post">
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Сборка:</div>
|
||
|
<div class="col-8 ">
|
||
|
<select id="buildId" name="buildId" class="form-control" asp-items="@(new SelectList(@ViewBag.Purchases,"Id", "BuildName"))"></select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Комплектующее:</div>
|
||
|
<div class="col-8">
|
||
|
<select id="componentId" name="componentId" class="form-control" asp-items="@(new SelectList(@ViewBag.Products,"Id", "ComponentName"))"></select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Количество:</div>
|
||
|
<div class="col-8">
|
||
|
<input type="text" name="count" id="count" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-4">
|
||
|
<input type="submit" value="Добавить" class="btn btn-success" />
|
||
|
</div>
|
||
|
</form>
|