@using CD67.FicheCollege.MVC.Models @model ActionEduViewModel @{ ViewBag.Title = "Details"; Layout = "~/Views/Shared/_Layout.cshtml"; ActionEdu actionEdu = Model.Obj; }

Les Actions

@Html.ActionLink("Retour à la liste", "Index")

@actionEdu.Nom

Données de base @if (Model.Acces == ModeAcces.Lecture) { @Html.ActionLink("Supprimer", "Delete", "ActionsEdu", new { Id = actionEdu.Id }, new { @class = "btn btn-danger" }) @Html.ActionLink("Modifier", "Edit", "ActionsEdu", new { Id = actionEdu.Id }, new { @class = "btn btn-default" }) }
@Html.DisplayNameFor(model => actionEdu.ActionEduThematique.ActionEduAxe.Nom)
@Html.DisplayFor(model => actionEdu.ActionEduThematique.ActionEduAxe.Nom)
@Html.DisplayNameFor(model => actionEdu.ActionEduThematique.Nom)
@Html.DisplayFor(model => actionEdu.ActionEduThematique.Nom)
@Html.DisplayNameFor(model => actionEdu.Numero)
@Html.DisplayFor(model => actionEdu.Numero)
@Html.DisplayNameFor(model => actionEdu.Nom)
@Html.DisplayFor(model => actionEdu.Nom)
@Html.DisplayNameFor(model => actionEdu.Description)
@Html.DisplayFor(model => actionEdu.Description)
@Html.DisplayNameFor(model => actionEdu.Neutralise)
@Html.DisplayFor(model => actionEdu.Neutralise)
@if (Model.Acces == ModeAcces.Lecture) { Collège(s) concerné(s) @Html.ActionLink("Ajouter", "Create", "ActionsEduCollege", new { actionEdu_id = actionEdu.Id }, new { @class = "btn btn-default" }) foreach (ActionEduCollege item in Model.Obj.ActionsEduColleges) {
@item.College.Libelle @Html.ActionLink("Voir", "Details", "ActionsEduCollege", new { Id = item.Id }, new { @class = "btn btn-default" })
} }