| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @using CD67.FicheCollege.MVC.Models
- @model TopModel
- @*IEnumerable<CD67.FicheCollege.Entity.College>*@
- @{
- ViewBag.Title = "Liste";
- Layout = "~/Views/Shared/_Layout.cshtml";
- IEnumerable<CD67.FicheCollege.Entity.College> colleges = Model.Obj;
- }
- <h2>Index</h2>
- <p>
- <a href="@Url.Action("Create")">
- <span class="glyphicon glyphicon-plus-sign fa-2x color1" style="vertical-align: middle" aria-hidden="true"></span>
- Ajouter un nouveau collège
- </a>
- </p>
- <table class="table">
- <tr>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Id)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Libelle)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Adresse)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).CDC)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Tel)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Fax)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Email)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).Territoire.Libelle)
- </th>
- <th>
- @Html.DisplayNameFor(model => (model.Obj as College).TypeCollege.Libelle)
- </th>
- </tr>
- @foreach (College item in Model.Obj) {
- <tr>
- <td>
- @Html.ActionLink(item.CodeRne.ToString(), "Details", new { id = item.Id })
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Libelle)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.AdresseComplete)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.CDC)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Tel)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Fax)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Email)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Territoire.Libelle)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.TypeCollege.Libelle)
- </td>
- </tr>
- }
- </table>
|