fix
This commit is contained in:
parent
8aef0c69ff
commit
a539b92ee4
1 changed files with 11 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
@model IEnumerable<Yavsc.Models.Workflow.Profiles.FormationSettings>
|
@model Yavsc.Models.Workflow.Profiles.FormationSettings
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Index";
|
ViewData["Title"] = "Index";
|
||||||
|
|
@ -6,21 +6,14 @@
|
||||||
|
|
||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
@if (Model == null) {
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create" class="btn btn-default">Positionner les paramêtres</a>
|
||||||
</p>
|
} else {
|
||||||
<table class="table">
|
<a asp-action="Edit" class="btn btn-default">Edit</a>
|
||||||
<tr>
|
<a asp-action="Delete" asp-route-id="@Model.UserId" class="btn btn-default">Delete</a>
|
||||||
<th></th>
|
<div>
|
||||||
</tr>
|
<h4>FormationSettings</h4>
|
||||||
|
<hr />
|
||||||
@foreach (var item in Model) {
|
</div>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a asp-action="Edit" asp-route-id="@item.UserId">Edit</a> |
|
|
||||||
<a asp-action="Details" asp-route-id="@item.UserId">Details</a> |
|
|
||||||
<a asp-action="Delete" asp-route-id="@item.UserId">Delete</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
}
|
||||||
</table>
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue