PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenVisitorApp/Views/Home/CreateLunch.cshtml
2023-04-09 19:28:29 +04:00

39 lines
1.1 KiB
Plaintext

@{
ViewData["Title"] = "Lunch";
}
<div class="text-center">
<h2 class="display-4">Добавление обеда</h2>
</div>
<style>
.row{
margin-top: 10px;
}
</style>
<form method="post">
<div class="row">
<div class="col-4">Название обеда:</div>
<div class="col-8">
<input type="text" name="LunchName" id="LunchName" />
</div>
</div>
<div class="row">
<div class="col-4">Сумма:</div>
<div class="col-8">
<input type="text" name="Sum" id="Sum" />
</div>
</div>
<div class="row">
<div class="col-4">Продукты:</div>
<div class="col-8">
<select id="products" name="products" class="form-control" asp-items="@(new SelectList(@ViewBag.Products, "Id", "ProductName"))" multiple></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>