2024-04-30 17:31:42 +04:00
|
|
|
@{
|
2024-04-30 17:18:29 +04:00
|
|
|
ViewBag.SelectedSiteMenuItem = SiteMenuItems.Course;
|
2024-04-30 16:56:58 +04:00
|
|
|
}
|
2024-04-30 17:27:10 +04:00
|
|
|
<form class="d-flex flex-column" method="post">
|
2024-04-30 16:56:58 +04:00
|
|
|
<div class="row mb-5">
|
2024-04-30 17:18:29 +04:00
|
|
|
<div class="col-3">Количество дней:</div>
|
2024-04-30 16:56:58 +04:00
|
|
|
<div class="col-8"><input type="number" id="daysCount" name="daysCount" /></div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-5">
|
2024-04-30 17:18:29 +04:00
|
|
|
<div class="col-3">Количество препарата в день:</div>
|
2024-04-30 16:56:58 +04:00
|
|
|
<div class="col-8"><input type="number" id="pillsPerDay" name="pillsPerDay" /></div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-5">
|
2024-04-30 17:18:29 +04:00
|
|
|
<div class="col-3">Коментарий:</div>
|
2024-04-30 16:56:58 +04:00
|
|
|
<div class="col-8"><textarea id="comment" name="comment"></textarea></div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-5">
|
2024-04-30 17:18:29 +04:00
|
|
|
<div class="col-3">Рецепт:</div>
|
2024-04-30 16:56:58 +04:00
|
|
|
<div class="col-8">
|
|
|
|
<select id="recipeId" name="recipeId">
|
2024-04-30 17:27:10 +04:00
|
|
|
<option value="">Выберите рецепт</option>
|
2024-04-30 17:31:42 +04:00
|
|
|
@{
|
|
|
|
int count = 10;
|
|
|
|
for (int i = 0; i < count; i++)
|
|
|
|
{
|
|
|
|
<option value="@i">Какой-то рецепт @i</option>
|
|
|
|
}
|
|
|
|
}
|
2024-04-30 16:56:58 +04:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-30 17:18:29 +04:00
|
|
|
<div class="row mb-5">
|
|
|
|
<div class="col-4">
|
2024-04-30 17:27:10 +04:00
|
|
|
<button class="btn btn-success" type="submit">
|
2024-04-30 17:18:29 +04:00
|
|
|
Сохранить
|
2024-04-30 17:27:10 +04:00
|
|
|
</button>
|
2024-04-30 17:35:30 +04:00
|
|
|
@Html.ActionLink("Отмена", "Courses", "Home", null, new { @class = "btn btn-danger" })
|
2024-04-30 17:18:29 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-30 16:56:58 +04:00
|
|
|
</form>
|