2023-05-16 19:13:19 +04:00
|
|
|
@{
|
2023-05-18 01:40:11 +04:00
|
|
|
ViewData["Title"] = "DishDelete";
|
2023-05-16 19:13:19 +04:00
|
|
|
}
|
|
|
|
<div class="text-center">
|
2023-05-18 01:40:11 +04:00
|
|
|
<h2 class="display-4">Удаление блюда</h2>
|
2023-05-16 19:13:19 +04:00
|
|
|
</div>
|
|
|
|
<style>
|
|
|
|
.row {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<form method="post">
|
|
|
|
<div class="row">
|
2023-05-18 01:40:11 +04:00
|
|
|
<div class="col-4">Выберите блюдо</div>
|
2023-05-16 19:13:19 +04:00
|
|
|
<div class="col-8">
|
2023-05-18 01:40:11 +04:00
|
|
|
<select id="id" name="id" class="form-control" asp-items="@(new SelectList(@ViewBag.DishList, "Id", "DishName"))"></select>
|
2023-05-16 19:13:19 +04:00
|
|
|
</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>
|