@model MALDFGASSURANCE.Models.ASSURE @{ ViewBag.Title = "CreateAssure"; }

AJOUTER UN ASSURE

@using (Html.BeginForm("Create", "ASSURES", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @if (ViewBag.Message != null) {

@ViewBag.Message

}
@Html.LabelFor(model => model.REFERENCE_ADHERENT, htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("REFERENCE_ADHERENT", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_8" }) @Html.ValidationMessageFor(model => model.REFERENCE_ADHERENT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATE_NAISSANCE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.DATE_NAISSANCE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DATE_NAISSANCE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NOM, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NOM, new { htmlAttributes = new { @class = "form-control", @value = "@ViewBag.NOM" } }) @Html.ValidationMessageFor(model => model.NOM, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PRENOMS, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.PRENOMS, new { htmlAttributes = new { @class = "form-control", @value = "koffi" } }) @Html.ValidationMessageFor(model => model.PRENOMS, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LIEU_NAISSANCE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.LIEU_NAISSANCE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.LIEU_NAISSANCE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.IDSEXE, htmlAttributes: new { @class = "control-label" }) @Html.DropDownList("IDSEXE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_1" }) @Html.ValidationMessageFor(model => model.IDSEXE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.EMAIL, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.EMAIL, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.EMAIL, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CODE_STATUT_MATRIMONIALE, htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("CODE_STATUT_MATRIMONIALE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_2" }) @Html.ValidationMessageFor(model => model.CODE_STATUT_MATRIMONIALE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.IDNIVEAU_ETUDE, htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("IDNIVEAU_ETUDE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_3" }) @Html.ValidationMessageFor(model => model.IDNIVEAU_ETUDE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.IDPROFESSION, htmlAttributes: new { @class = "control-label" }) @Html.DropDownList("IDPROFESSION", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_4" }) @Html.ValidationMessageFor(model => model.IDPROFESSION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ADRESSE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.ADRESSE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ADRESSE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.TAILLE, "TAILLE (cm)", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.TAILLE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.TAILLE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.POIDS, "POIDS (Kg)", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.POIDS, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.POIDS, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NATIONALITE, "NATIONALITE", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NATIONALITE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NATIONALITE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ID_GROUPE_SANGUIN, htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_GROUPE_SANGUIN", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_5" }) @Html.ValidationMessageFor(model => model.ID_GROUPE_SANGUIN, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ID_TYPE_ASSURE, htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_TYPE_ASSURE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_9" }) @Html.ValidationMessageFor(model => model.ID_TYPE_ASSURE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATE_DEBUT_ASSURANCE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.DATE_DEBUT_ASSURANCE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DATE_DEBUT_ASSURANCE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CODE_STATUT, htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("CODE_STATUT", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_7" }) @Html.ValidationMessageFor(model => model.CODE_STATUT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PHOTO, "PHOTO", htmlAttributes: new { @class = "control-label " }) @Html.ValidationMessageFor(model => model.PHOTO, "", new { @class = "text-danger" })
}