yavsc/src/Yavsc.Org/Views/Feature/Index.cshtml

50 lines
1.2 KiB
Text
Raw Normal View History

2018-12-31 15:48:16 +00:00
@model IEnumerable<Yavsc.Models.IT.Evolution.Feature>
2017-10-02 04:43:20 +02:00
@{
2026-06-04 12:13:37 +01:00
ViewBag.Title = "Index";
2017-10-02 04:43:20 +02:00
}
2023-03-20 09:13:16 +00:00
<h2>Index</h2>
2017-10-02 04:43:20 +02:00
<p>
2023-03-20 09:13:16 +00:00
<a asp-action="Create">Create New</a>
2017-10-02 04:43:20 +02:00
</p>
<table class="table">
2017-10-16 11:29:10 +02:00
<tr>
<th>
@Html.DisplayNameFor(model => model.Id)
</th>
2017-10-02 04:43:20 +02:00
<th>
@Html.DisplayNameFor(model => model.Description)
</th>
<th>
@Html.DisplayNameFor(model => model.ShortName)
</th>
<th>
@Html.DisplayNameFor(model => model.Status)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
2017-10-16 11:29:10 +02:00
<td>
@Html.DisplayFor(modelItem => item.Id)
</td>
2017-10-02 04:43:20 +02:00
<td>
@Html.DisplayFor(modelItem => item.Description)
</td>
<td>
@Html.DisplayFor(modelItem => item.ShortName)
</td>
<td>
@Html.DisplayFor(modelItem => item.Status)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
</td>
</tr>
}
</table>