44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
|
|
@{
|
|
ViewData["Title"] = "CreateOrder";
|
|
}
|
|
<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">
|
|
<input type="text" name="DescriptionOrder" id="DescriptionOrder" />
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-4">Сумма:</div>
|
|
<div class="col-8">
|
|
<input type="text" name="Sum" id="Sum" />
|
|
</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.Dishes, "Id", "DishName"))" multiple></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> |