| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- @using CD67.FicheCollege.MVC.Models
- @model CollegeViewModel
- @{
- ViewBag.Title = "Restauration " + Model.Annee_Lib;
- Layout = "~/Views/Shared/_Layout.cshtml";
- College college = Model.Obj;
- }
- <header>
- <h2>Type de restauration pour un collège</h2>
- <div>
- <a href=@Url.Action("Index", "Restauration", new { annee_id = college.Annee_Id })>
- <i class="fa fa-list-ul"></i> Retour à l'index
- </a>
- </div>
- </header>
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
- <div class="form-horizontal">
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => college.Id)
- @Html.HiddenFor(model => college.Annee_Id)
- @Html.HiddenFor(model => college.CodeRne)
- @Html.HiddenFor(model => college.Libelle)
- @Html.HiddenFor(model => college.TokenId)
- @Html.HiddenFor(model => college.Adresse)
- @Html.HiddenFor(model => college.Code_Postal)
- @Html.HiddenFor(model => college.TypeCollege_Id)
- @Html.HiddenFor(model => college.Commune_Insee)
- @Html.HiddenFor(model => college.Commune)
- @Html.HiddenFor(model => college.Canton)
- @Html.HiddenFor(model => college.Territoire_Id)
- @Html.HiddenFor(model => college.TAD)
- @Html.HiddenFor(model => college.CDC)
- @Html.HiddenFor(model => college.Tel)
- @Html.HiddenFor(model => college.Fax)
- @Html.HiddenFor(model => college.Email)
- @Html.HiddenFor(model => college.PrincipalSid)
- @Html.HiddenFor(model => college.AdjointSid)
- @Html.HiddenFor(model => college.Gestionnaire1Sid)
- @Html.HiddenFor(model => college.Gestionnaire2Sid)
- <div class="form-group">
- @Html.LabelFor(model => college.CodeRne, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.DisplayFor(model => college.CodeRne, new { htmlAttributes = new { @class = "form-control" } })
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => college.Libelle, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.DisplayFor(model => college.Libelle, new { htmlAttributes = new { @class = "form-control" } })
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => college.RestaurationType_Id, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.DropDownListFor(model => college.RestaurationType_Id, Model.Sel_TypesRestauration, htmlAttributes: new { @class = "form-control" })
- @Html.ValidationMessageFor(model => college.RestaurationType_Id, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group btn-bar">
- <a href=@Url.Action("Index", "Restauration", new { annee_id = college.Annee_Id }) class="btn btn-default">Annuler</a>
- <input type="submit" value="Enregistrer" class="btn btn-primary" />
- </div>
- </div>
- }
- @section Scripts {
- }
|