@model CD67.FicheCollege.Entity.Territoire @{ ViewBag.Title = "Création"; Layout = "~/Views/Shared/_Layout.cshtml"; }

Création

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

Territoire


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.Ordre)
@Html.LabelFor(model => model.Libelle, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Libelle, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Libelle, "", new { @class = "text-danger" })
@Html.Label("Référent", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.HiddenFor(model => model.Referent_SID, new { data_picker = "agent.id" }) @Html.HiddenFor(model => model.Referent_Nom, new { data_picker = "agent.nom" }) @Html.HiddenFor(model => model.Referent_Prenom, new { data_picker = "agent.prenom" }) @Html.HiddenFor(model => model.Referent_Structure, new { data_picker = "agent.chemin" }) @Html.HiddenFor(model => model.Referent_Login, new { data_picker = "agent.login" }) Sélectionner un référent

Agent

@Model.Referent_Prenom @Model.Referent_Nom
@Model.Referent_Structure
}
@Html.ActionLink("Retour à la liste", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }