@model MALDFGASSURANCE.Models.ETABLISSEMENT @{ ViewBag.Title = "Edit"; Layout = "~/Views/Shared/_Layout.cshtml"; }

MODIFIER L'ETABLISSEMENT

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.ID_ETABLISSEMENT)
@Html.LabelFor(model => model.NOM_ETABLISSEMENT, "RAISON SOCIALE", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NOM_ETABLISSEMENT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NOM_ETABLISSEMENT, "", 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.CONTACT, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.CONTACT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.CONTACT, "", new { @class = "text-danger" })
}