reorg
This commit is contained in:
parent
d000f77098
commit
40e8e08690
3487 changed files with 39 additions and 21 deletions
37
src/Yavsc.Org/Views/CircleMembers/Index.cshtml
Normal file
37
src/Yavsc.Org/Views/CircleMembers/Index.cshtml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
@model IEnumerable<CircleMember>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">Ajouter un utilisateur à un cercle"]</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Cercle</th>
|
||||
<th>Utilisateur</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
|
||||
var itemKey = new { Id = item.CircleId } ;
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(m=>item.Circle)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(m=>item.Member)
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@Html.ActionLink("Delete", "Delete", itemKey)
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue