| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- @using CD67.FicheCollege.MVC.Models
- @model ActionEduAxeViewModel
- @{
- ViewBag.Title = "Modification";
- Layout = "~/Views/Shared/_AdminLayout.cshtml";
- ActionEduAxe axe = Model.Obj;
- }
- <h2>Modification</h2>
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
-
- <div class="form-horizontal">
- <h4>Axe</h4>
- <hr />
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => axe.Id)
- @Html.HiddenFor(model => axe.Ordre)
- <div class="form-group">
- @Html.LabelFor(model => axe.Nom, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => axe.Nom, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => axe.Nom, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => axe.Neutralise, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => axe.Neutralise, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => axe.Neutralise, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group btn-bar">
- <a href=@Url.Action("Index") class="btn btn-default">Annuler</a>
- <input type="submit" value="Enregistrer" class="btn btn-primary" />
- </div>
- </div>
- }
|