PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicWebAppImplementer/Views/Home/Course.cshtml

41 lines
1.5 KiB
Plaintext
Raw Normal View History

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