@using CD67.FicheCollege.MVC.Models @model RestaurationTypeRepaViewModel @{ ViewBag.Title = "Création"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; RestaurationTypeRepa repas = Model.Obj; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()

Types de restauration


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => repas.Id) @Html.HiddenFor(model => repas.Ordre)
@Html.LabelFor(model => repas.Libelle, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => repas.Libelle, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => repas.Libelle, "", new { @class = "text-danger" })
@Html.LabelFor(model => repas.Valid, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => repas.Valid, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => repas.Valid, "", new { @class = "text-danger" })
}
@Html.ActionLink("Retour à la liste", "Index")
@section Scripts { }