|
|
@@ -5,48 +5,51 @@
|
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
|
}
|
|
|
|
|
|
-<h2>Actions</h2>
|
|
|
|
|
|
-<p>
|
|
|
- Gestion des actions éducatives, sportives et Culturelles
|
|
|
- <br /><br />
|
|
|
- @Model.Count(i => i.Actions_CLAS.Action == true) collège(s) avec une action CLAS
|
|
|
-</p>
|
|
|
+<h1>Actions</h1>
|
|
|
|
|
|
-<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>
|
|
|
+<fieldset>
|
|
|
+ <legend>
|
|
|
+ Gestion des actions éducatives, sportives et Culturelles
|
|
|
+ </legend>
|
|
|
|
|
|
- @foreach (var item in Model)
|
|
|
- {
|
|
|
+ @Model.Count(i => i.Actions_CLAS.Action == true) collège(s) avec une action CLAS
|
|
|
+ <br /><br />
|
|
|
+ <table class="table">
|
|
|
<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>
|
|
|
+ <th>
|
|
|
+ @Html.DisplayNameFor(model => model.Id)
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ @Html.DisplayNameFor(model => model.Libelle)
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ CLAS
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ Commentaire CLAS
|
|
|
+ </th>
|
|
|
+ <th></th>
|
|
|
</tr>
|
|
|
- }
|
|
|
|
|
|
-</table>
|
|
|
+ @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>
|