| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- @using CD67.FicheCollege.MVC.Models
- @model ActionEduCollegeViewModel
- @{
- ViewBag.Title = "Modification";
- Layout = "~/Views/Shared/_Layout.cshtml";
- ActionEduCollege actionEduCollege = Model.Obj;
- }
- <header>
- <h2>Action '@actionEduCollege.ActionEdu.Nom': Affecter à un collège</h2>
- </header>
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
-
- <div class="form-horizontal">
- <h4>Actions</h4>
- <hr />
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => actionEduCollege.Id)
- @Html.HiddenFor(model => actionEduCollege.ActionEduId)
-
- <div class="form-group">
- @Html.LabelFor(model => actionEduCollege.CollegeId, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.DropDownListFor(model => actionEduCollege.CollegeId, Model.Sel_College, htmlAttributes: new { @class = "form-control" })
- @Html.ValidationMessageFor(model => actionEduCollege.CollegeId, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => actionEduCollege.NbEleves, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => actionEduCollege.NbEleves, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => actionEduCollege.NbEleves, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => actionEduCollege.CommentaireInterne, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => actionEduCollege.CommentaireInterne, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => actionEduCollege.CommentaireInterne, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => actionEduCollege.CommentairePublic, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => actionEduCollege.CommentairePublic, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => actionEduCollege.CommentairePublic, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- <div class="col-md-offset-2 col-md-10">
- <input type="submit" value="Enregistrer" class="btn btn-default" />
- </div>
- </div>
- </div>
- }
|