| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- @model IEnumerable<CD67.FicheCollege.Entity.College>
- @{
- ViewBag.Title = "Liste";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- <h1>Actions</h1>
- <fieldset>
- <legend>
- Gestion des actions éducatives, sportives et Culturelles
- </legend>
- @Model.Count(i => i.Actions_CLAS.Action == true) collège(s) avec une action CLAS
- <br /><br />
- <table class="table">
- <tr>
- <th>
- @Html.DisplayNameFor(model => model.Id)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Libelle)
- </th>
- <th>
- CLAS
- </th>
- <th>
- Commentaire CLAS
- </th>
- <th></th>
- </tr>
- @foreach (var item in Model)
- {
- <tr>
- <td>
- @Html.DisplayFor(modelItem => item.Id)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Libelle)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Actions_CLAS.Action)
- </td>
- <td style="white-space: pre-line;">@Html.DisplayFor(modelItem => item.Actions_CLAS.Commentaire)</td>
- <td>
- @Html.ActionLink("Modifier", "Details", "ActionsCLAS", new { id = item.Id }, null)
- </td>
- </tr>
- }
- </table>
- </fieldset>
|