PIbd-22_CourseWork_Hospital.../Polyclinic/HospitalWebAppImplementer/Views/Home/AddRecipeToCourse.cshtml

41 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@{
ViewData["Title"] = "AddRecipeToCourse";
}
<h4 class="text-center">Привязка рецепта к курсу</h4>
<form class="d-flex justify-content-center flex-row align-content-center mb-3" method="post">
<div class="row mb-2">
<div class="col-3 d-flex align-content-center">
<h5 class="me-2">Рецепт </h5>
<select id="recipeId" name="recipeId" class="me-2">
<option value="">Выберите рецепт</option>
@{
for (int i = 0; i < 5; i++)
{
<option value="@i">Рецепт @i</option>
}
}
</select>
</div>
</div>
<div class="row mb-2">
<div class="col-3 d-flex align-content-center">
<h5 class="me-2">Курс </h5>
<select id="courseId" name="courseId" class="me-2">
<option value="">Выберите курс</option>
@{
for (int i = 0; i < 5; i++)
{
<option value="@i">Курс @i</option>
}
}
</select>
</div>
</div>
<div class="row mb-2">
<div class="col-3">
<button class="btn btn-outline-success" type="submit">
Привязать
</button>
</div>
</div>
</form>