PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenVisitorApp/Views/Home/UpdateOrder.cshtml

23 lines
818 B
Plaintext
Raw Normal View History

2023-05-19 03:39:58 +04:00
@using Newtonsoft.Json;
@{
ViewData["Title"] = "UpdateOrder";
}
<div class="text-center">
<h2 class="display-4">Данные заказа</h2>
</div>
<form method="post">
<div class="row">
<div class="col-4">Заказ:</div>
2023-05-20 00:18:48 +04:00
<div class="col-8"><select id="Id" name="Id" class="form-control" onchange="populateFields()" asp-items="@(new SelectList(@ViewBag.Orders, "Id", "Id"))"></select></div>
2023-05-19 03:39:58 +04:00
</div>
<div class="row">
2023-05-20 00:18:48 +04:00
<div class="col-4">Пожелания:</div>
2023-05-19 03:39:58 +04:00
<div class="col-8">
2023-05-20 00:18:48 +04:00
<input type="text" name="description" id="description" />
2023-05-19 03:39:58 +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>