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

MODIFIER ADHERENT

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.REFERENCE_ADHERENT)
@Html.LabelFor(model => model.MATRICULE_PROFESSIONNEL_ADERANT, "MATRICULE PROFESSIONNEL", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.MATRICULE_PROFESSIONNEL_ADERANT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.MATRICULE_PROFESSIONNEL_ADERANT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NOMS_ET_PRENOMS, "NOM ET PRENOMS", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NOMS_ET_PRENOMS, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NOMS_ET_PRENOMS, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CODE_FONCTION, "FONCTION", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("CODE_FONCTION", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_1" }) @Html.ValidationMessageFor(model => model.CODE_FONCTION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CODE_CATEGORIE_PROFESSIONELLE, "CATEGORIE PROFESSIONELLE", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("CODE_CATEGORIE_PROFESSIONELLE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_2" }) @Html.ValidationMessageFor(model => model.CODE_CATEGORIE_PROFESSIONELLE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATE_EMBAUCHE, "DATE EMBAUCHE", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.DATE_EMBAUCHE, new { htmlAttributes = new { @class = "form-control", @id="kt_datepicker_3", @type="text"} }) @Html.ValidationMessageFor(model => model.DATE_EMBAUCHE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATE_DEBUT_ADHESION, "DATE DEBUT ADHESION", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.DATE_DEBUT_ADHESION, new { htmlAttributes = new { @class = "form-control", @id = "kt_datepicker_3", @type = "text" } }) @Html.ValidationMessageFor(model => model.DATE_DEBUT_ADHESION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.IDENTREPRISES, "ENTREPRISE", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("IDENTREPRISES", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_3" }) @Html.ValidationMessageFor(model => model.IDENTREPRISES, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.ETAT) @Html.HiddenFor(model => model.DATECREATION) @Html.HiddenFor(model => model.DATEMODIFICATION) @Html.HiddenFor(model => model.DATESUPPRESSION)
}