32 lines
888 B
Plaintext
32 lines
888 B
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="OrderName" id="OrderName" />
|
|||
|
</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>
|