@using CD67.FicheCollege.MVC.Models @model ActionEduCollegeViewModel @{ ViewBag.Title = "Les Actions Educatives " + Model.Annee_Lib; Layout = "~/Views/Shared/_Layout.cshtml"; ActionEduCollege actionEduCollege = Model.Obj; }

@actionEduCollege.ActionEdu.Nom: Ajouter un collège

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

Actions


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => actionEduCollege.Id) @Html.HiddenFor(model => actionEduCollege.ActionEduId)
@Html.LabelFor(model => actionEduCollege.CollegeId, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownListFor(model => actionEduCollege.CollegeId, Model.Sel_College, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => actionEduCollege.CollegeId, "", new { @class = "text-danger" })
@Html.LabelFor(model => actionEduCollege.NbEleves, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => actionEduCollege.NbEleves, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => actionEduCollege.NbEleves, "", new { @class = "text-danger" })
@Html.LabelFor(model => actionEduCollege.Commentaire, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => actionEduCollege.Commentaire, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => actionEduCollege.Commentaire, "", new { @class = "text-danger" })
@if (Model.Acces == ModeAcces.Modification) { Annuler } else { Annuler }
}