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

Edit

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

DETAILCOMPTE


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.idDetailCompt)
@Html.LabelFor(model => model.IdPeriode, "IdPeriode", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("IdPeriode", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.IdPeriode, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.idSousPost, "idSousPost", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("idSousPost", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.idSousPost, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.montant, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.montant, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.montant, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.information, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.information, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.information, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.statut, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.statut, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.statut, "", 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.idUtilisateur, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.idUtilisateur, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.idUtilisateur, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.dateCreation, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.dateCreation, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.dateCreation, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.dateModification, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.dateModification, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.dateModification, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.dateEmission, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.dateEmission, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.dateEmission, "", new { @class = "text-danger" })
}
@Html.ActionLink("Back to List", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }