@using CD67.FicheCollege.MVC.Models @model TypeCollegeViewModel @{ ViewBag.Title = "Administration - Les Types de Collèges"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; TypeCollege typeCollege = Model.Obj; } @if (Model.Acces == ModeAcces.Modification) {

@typeCollege.Libelle

} else {

Nouveau Type de Collège

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