38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
|
|
@{
|
|
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">
|
|
<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" />
|
|
</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> |