2023-04-09 19:28:29 +04:00
|
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Tableware";
|
|
|
|
|
}
|
|
|
|
|
<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">
|
2023-05-14 22:24:37 +04:00
|
|
|
|
<input type="text" name="TablewareName" id="TablewareName" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-4">Количество:</div>
|
|
|
|
|
<div class="col-8">
|
|
|
|
|
<input type="number" name="TablewareCount" id="TablewareCount" />
|
2023-04-09 19:28:29 +04:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-4">Заказ:</div>
|
|
|
|
|
<div class="col-8">
|
|
|
|
|
<select id="dishes" name="dishes" class="form-control" asp-items="@(new SelectList(@ViewBag.Orders, "Id"))"></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>
|