@using CD67.FicheCollege.MVC.Models @model ActionEduThematiqueViewModel @{ ViewBag.Title = "Administration - Les Thématiques"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; ActionEduThematique thematique = Model.Obj; } @if (Model.Acces == ModeAcces.Modification) {

@thematique.Nom

} else {

Nouvelle Thématique

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