@using CD67.FicheCollege.MVC.Models @model ActionEduAxeViewModel @{ ViewBag.Title = Model.Acces.ToString(); Layout = "~/Views/Shared/_AdminLayout.cshtml"; ActionEduAxe axe = Model.Obj; } @if (Model.Acces == ModeAcces.Modification) {

@axe.Nom

} else {

Nouvel Axe

} @using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => axe.Id) @Html.HiddenFor(model => axe.Ordre)
@Html.LabelFor(model => axe.Nom, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => axe.Nom, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => axe.Nom, "", new { @class = "text-danger" })
@Html.LabelFor(model => axe.Neutralise, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => axe.Neutralise, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => axe.Neutralise, "", new { @class = "text-danger" })
Annuler
}