@using CD67.FicheCollege.MVC.Models @model CollegeViewModel @{ ViewBag.Title = "Edit"; Layout = "~/Views/Shared/_Layout.cshtml"; ActionCLAS contenu = Model.Contenu as ActionCLAS; }

@Model.College_Libelle

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
Actions CLAS - @Model.Acces.ToString()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => contenu.College_Id)
@Html.LabelFor(model => contenu.Action, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => contenu.Action) @Html.ValidationMessageFor(model => contenu.Action, "", new { @class = "text-danger" })
@Html.LabelFor(model => contenu.Commentaire, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => contenu.Commentaire, new { htmlAttributes = new { @class = "form-control", @rows = 10 } }) @Html.ValidationMessageFor(model => contenu.Commentaire, "", new { @class = "text-danger" })
| @Html.ActionLink("Annuler", "Details", new { Id = Model.College_Id })
} @section Scripts { @Scripts.Render("~/bundles/jqueryval") }