CourseWork_CompShop/ComputerShopProvider/ComputerShopClientApp/Views/Home/DeleteComponent.cshtml

18 lines
580 B
Plaintext
Raw Permalink Normal View History

2023-04-09 12:04:14 +04:00
@{
ViewData["Title"] = "DeleteComponent";
}
<div class="text-center">
<h2 class="display-4">Удаление компонента</h2>
</div>
<form method="post">
<div class="row">
<div class="col-4">Компонент:</div>
<div class="col-8">
<select id="component" name="component" class="form-control" asp-items="@(new SelectList(@ViewBag.Components,"Id", "ComponentName"))"></select>
</div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4"><input type="submit" value="Удалить" class="btn btn-primary" /></div>
</div>
</form>