@model CD67.FicheCollege.Entity.TypeCollege @{ ViewBag.Title = "Modification"; Layout = "~/Views/Shared/_Layout.cshtml"; }

Modification

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

Type collège


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.Ordre)
@Html.LabelFor(model => model.Libelle, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Libelle, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Libelle, "", new { @class = "text-danger" })
}
@Html.ActionLink("Retour à la liste", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }