2023-05-20 00:18:48 +04:00
|
|
|
@using Newtonsoft.Json;
|
|
|
|
@{
|
|
|
|
ViewData["Title"] = "UpdateLunch";
|
|
|
|
}
|
|
|
|
<div class="text-center">
|
|
|
|
<h2 class="display-4">Данные обеда</h2>
|
|
|
|
</div>
|
|
|
|
<form method="post">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">Заказ:</div>
|
2023-06-19 09:12:18 +04:00
|
|
|
<div class="col-8"><select id="Id" name="Id" class="form-control" asp-items="@(new SelectList(@ViewBag.Lunches, "Id", "Id"))"></select></div>
|
2023-05-20 00:18:48 +04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">Название обеда:</div>
|
|
|
|
<div class="col-8">
|
|
|
|
<input type="text" name="name" id="name" />
|
|
|
|
</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>
|