2024-05-28 22:05:22 +04:00
|
|
|
@using HotelContracts.ViewModels
|
|
|
|
|
|
|
|
@model ParticipantViewModel
|
|
|
|
|
|
|
|
@{
|
2024-05-01 00:23:04 +04:00
|
|
|
ViewData["Title"] = "CreateMealPlan";
|
|
|
|
}
|
|
|
|
<style>
|
|
|
|
.text-center {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.general_style {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button_action {
|
|
|
|
display: flex;
|
|
|
|
background-color: #5a9ad6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button_action:hover {
|
|
|
|
background-color: #225df2;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<div class="text-center">
|
|
|
|
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Добавить план питания</h2>
|
|
|
|
</div>
|
|
|
|
<form method="post">
|
2024-05-28 22:05:22 +04:00
|
|
|
<input type="text" name="mealPlanName" placeholder="Введите название плана питания" class="form-control" />
|
|
|
|
<input type="text" name="mealPlanPrice" placeholder="Введите стоимость плана питания" class="form-control" step="1000" />
|
|
|
|
<div class="spisok">
|
|
|
|
<label class="u-label u-text-custom-color-1 u-label-1">Участники: </label>
|
|
|
|
<div>
|
|
|
|
@Html.ListBox("participants", (MultiSelectList)ViewBag.Participants, new { @class = "form-control", size = "10" })
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-01 00:23:04 +04:00
|
|
|
<div class="general_style">
|
|
|
|
<div class="button">
|
2024-05-28 22:05:22 +04:00
|
|
|
<button class="btn button_action" type="submit">Сохранить</button>
|
2024-05-01 00:23:04 +04:00
|
|
|
</div>
|
|
|
|
<div class="button">
|
|
|
|
<a asp-area="" asp-controller="Home" asp-action="MealPlans" class="btn button_action">Назад</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|