23 lines
818 B
Plaintext
23 lines
818 B
Plaintext
@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>
|
|
<div class="col-8"><select id="Id" name="Id" class="form-control" onchange="populateFields()" asp-items="@(new SelectList(@ViewBag.Orders, "Id", "Id"))"></select></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-4">Пожелания:</div>
|
|
<div class="col-8">
|
|
<input type="text" name="description" id="description" />
|
|
</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> |