Antwortmöglichkeiten auf 10 erhöht;

This commit is contained in:
2020-06-15 10:20:12 +02:00
parent f0ed318454
commit 0c25e6cf89
3 changed files with 10 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
<div class="form-group row">
<label asp-for="Choices" class="control-label col-2"></label>
<div class="col-10 row">
@for (int i = 0; i < 5; i++)
@for (int i = 0; i < ViewBag.CountChoiceFields; i++)
{
<div class="row col-12 mb-1 px-0 mx-0">
@if (Model != null && Model.Choices != null && Model.Choices.Count > i)