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

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,"REFERENCE DE L'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,"DATE DE 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,"NOM (*)", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NOM, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NOM, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PRENOMS,"PRENOMS (*)", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.PRENOMS, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.PRENOMS, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LIEU_NAISSANCE,"LIEU DE 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,"GENRE", 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,"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,"STATUT MATRIMONIAL", 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,"NIVEAU D'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,"PROFESSION", htmlAttributes: new { @class = "control-label" }) @Html.DropDownList("IDPROFESSION", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_11" }) @Html.ValidationMessageFor(model => model.IDPROFESSION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ADRESSE,"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,"GROUPE SANGUIN", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_GROUPE_SANGUIN", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_10" }) @Html.ValidationMessageFor(model => model.ID_GROUPE_SANGUIN, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ID_TYPE_ASSURE,"TYPE D'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.CODE_STATUT,"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" })
}