| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- @using CD67.FicheCollege.MVC.Models
- @model ActionEduCollegeViewModel
- @{
- ViewBag.Title = "Details";
- Layout = "~/Views/Shared/_Layout.cshtml";
- ActionEduCollege actionEduCollege = Model.Obj;
- }
- <h1>Les Actions</h1>
- <div>
- @Html.ActionLink("Retour", "Details", "ActionsEdu", new { id = actionEduCollege.ActionEdu.Id }, new { @class = "btn btn-default" })
- </div>
- <h2>@actionEduCollege.ActionEdu.Nom, collège @actionEduCollege.College.Libelle</h2>
- <fieldset>
- <legend>
- Informations
- @if (Model.Acces == ModeAcces.Lecture)
- {
- <span class="pull-right">
- @Html.ActionLink("Supprimer", "Delete", "ActionsEduCollege", new { Id = actionEduCollege.Id }, new { @class = "btn btn-danger" })
- @Html.ActionLink("Modifier", "Edit", "ActionsEduCollege", new { Id = actionEduCollege.Id }, new { @class = "btn btn-default" })
- </span>
- }
- </legend>
- <dl class="dl-horizontal">
- <dt>@Html.DisplayNameFor(model => actionEduCollege.NbEleves)</dt>
- <dd>@Html.DisplayFor(model => actionEduCollege.NbEleves)</dd>
- <dt>@Html.DisplayNameFor(model => actionEduCollege.Montant)</dt>
- <dd>@Html.DisplayFor(model => actionEduCollege.Montant)</dd>
- <dt>@Html.DisplayNameFor(model => actionEduCollege.CommentaireInterne)</dt>
- <dd>@Html.DisplayFor(model => actionEduCollege.CommentaireInterne)</dd>
- <dt>@Html.DisplayNameFor(model => actionEduCollege.CommentairePublic)</dt>
- <dd>@Html.DisplayFor(model => actionEduCollege.CommentairePublic)</dd>
- </dl>
- </fieldset>
|