yavsc/src/Yavsc/Views/InstrumentRating/Index.cshtml

39 lines
914 B
Text

@model IEnumerable<Yavsc.Models.Musical.InstrumentRating>
@{
ViewData["Title"] = @SR["Index"];
}
<h2>@SR["Index"]</h2>
<p>
<a asp-action="Create">@SR["Create New"]</a>
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Rate)
</th>
<th>
@Html.DisplayNameFor(model => model.Instrument.Name)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Rate)
</td>
<td>
@Html.DisplayFor(modelItem => item.Instrument.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">@SR["Edit"]</a> |
<a asp-action="Details" asp-route-id="@item.Id">@SR["Details"]</a> |
<a asp-action="Delete" asp-route-id="@item.Id">@SR["Delete"]</a>
</td>
</tr>
}
</table>