@using CD67.FicheCollege.MVC.Models
@model ActionEduViewModel
@{
ViewBag.Title = "Les Actions Educatives " + Model.Annee_Lib;
Layout = "~/Views/Shared/_Layout.cshtml";
ActionEdu actionEdu = Model.Obj;
}
@if (Model.Acces == ModeAcces.Modification)
{
@actionEdu.Nom
}
else
{
Nouvelle Action Educative
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => actionEdu.Id)
@Html.HiddenFor(model => actionEdu.Ordre)
@Html.HiddenFor(model => actionEdu.AnneeId)
@Html.HiddenFor(model => actionEdu.TokenId)
@if (Model.Acces == ModeAcces.Creation) { @Html.HiddenFor(model => actionEdu.Neutralise) }
@if (Model.Acces == ModeAcces.Modification)
{
}
}
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
}