2024-04-30 23:22:25 +04:00
|
|
|
|
@{
|
2024-04-30 23:46:40 +04:00
|
|
|
|
ViewBag.SelectedSiteMenuItem = SiteMenuItems.AddRecipeToCourse;
|
2024-04-30 23:22:25 +04:00
|
|
|
|
}
|
|
|
|
|
<h4>Привязка рецепта к курсу</h4>
|
|
|
|
|
<form id="addrecipetocourse" 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 < 10; 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 < 10; i++)
|
|
|
|
|
{
|
|
|
|
|
<option value="@i">Какой то курс @i</option>
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row mb-2">
|
|
|
|
|
<div class="col-3">
|
|
|
|
|
<button class="btn btn-primary" type="submit">
|
|
|
|
|
Привязать
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|