@using CD67.FicheCollege.MVC.Models @model ActionClasViewModel @{ ViewBag.Title = "Edit"; Layout = "~/Views/Shared/_Layout.cshtml"; ActionCLAS actionClas = Model.Obj; }

@actionClas.College.Libelle

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