@model MALDFGASSURANCE.Models.POSTE @{ ViewBag.Title = "Edit"; }

Edit

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

POSTE


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.idPost)
@Html.LabelFor(model => model.libellePost, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.libellePost, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.libellePost, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.etat, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.etat, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.etat, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.idRole, "idRole", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("idRole", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.idRole, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.idTypePoste, "idTypePoste", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("idTypePoste", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.idTypePoste, "", new { @class = "text-danger" })
}
@Html.ActionLink("Back to List", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }