39 lines
938 B
Plaintext
39 lines
938 B
Plaintext
7 years ago
|
@model IEnumerable<Yavsc.Models.Relationship.HyperLink>
|
||
|
|
||
|
@{
|
||
|
ViewData["Title"] = "Index";
|
||
|
}
|
||
|
|
||
|
<h2>Index</h2>
|
||
|
|
||
|
<p>
|
||
|
<a asp-action="Create">Create New</a>
|
||
|
</p>
|
||
|
<table class="table">
|
||
|
<tr>
|
||
|
<th>
|
||
|
@Html.DisplayNameFor(model => model.ContentType)
|
||
|
</th>
|
||
|
<th>
|
||
|
@Html.DisplayNameFor(model => model.Rel)
|
||
|
</th>
|
||
|
<th></th>
|
||
|
</tr>
|
||
|
|
||
|
@foreach (var item in Model) {
|
||
|
<tr>
|
||
|
<td>
|
||
|
@Html.DisplayFor(modelItem => item.ContentType)
|
||
|
</td>
|
||
|
<td>
|
||
|
@Html.DisplayFor(modelItem => item.Rel)
|
||
|
</td>
|
||
|
<td>
|
||
|
@Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
|
||
|
@Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
|
||
|
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
|
||
|
</td>
|
||
|
</tr>
|
||
|
}
|
||
|
</table>
|