adds bug a description

This commit is contained in:
2017-10-16 11:29:10 +02:00
parent 852dc22945
commit 195273b80f
12 changed files with 2524 additions and 2 deletions

View File

@ -29,7 +29,7 @@
<div class="form-group">
<label asp-for="Status" class="col-md-2 control-label"></label>
<div class="col-md-10">
<select asp-for="Status" class="form-control"></select>
<select asp-for="Status" class="form-control" asp-items="@ViewBag.Statuses"></select>
<span asp-validation-for="Status" class="text-danger" />
</div>
</div>

View File

@ -10,7 +10,10 @@
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Id)
</th>
<th>
@Html.DisplayNameFor(model => model.Description)
</th>
@ -25,6 +28,9 @@
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Id)
</td>
<td>
@Html.DisplayFor(modelItem => item.Description)
</td>