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

Create

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

PERIODE


@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.idExercice, "idExercice", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("idExercice", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.idExercice, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LibellePeriode, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.LibellePeriode, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.LibellePeriode, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DateDebut, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.DateDebut, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DateDebut, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DateFin, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.DateFin, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DateFin, "", 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.ActionLink("Back to List", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }