| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- @using CD67.FicheCollege.MVC.Models
- @model ActionClasViewModel
- @{
- ViewBag.Title = "Edit";
- Layout = "~/Views/Shared/_Layout.cshtml";
- ActionCLAS actionClas = Model.Obj;
- }
- <h1>@actionClas.College.Libelle</h1>
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
-
- <fieldset>
- <legend>
- Actions CLAS - @Model.Acces.ToString()
- </legend>
- <div class="form-horizontal">
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => actionClas.College_Id)
- <div class="form-group">
- @Html.LabelFor(model => actionClas.Action, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- <div class="checkbox">
- @Html.EditorFor(model => actionClas.Action)
- @Html.ValidationMessageFor(model => actionClas.Action, "", new { @class = "text-danger" })
- </div>
- </div>
- </div>
- <div class="form-group">
- @Html.LabelFor(model => actionClas.Commentaire, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => actionClas.Commentaire, new { htmlAttributes = new { @class = "form-control", @rows = 10 } })
- @Html.ValidationMessageFor(model => actionClas.Commentaire, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- <div class="col-md-offset-2 col-md-10">
- <input type="submit" value="@Model.Acces.EnumDisplayNameFor(MvcHtmlHelpers.DisplayValue.Prompt)" class="btn btn-default" /> |
- @Html.ActionLink("Annuler", "Details", new { Id = actionClas.College_Id })
- </div>
- </div>
- </div>
- </fieldset>
- }
- @section Scripts {
- @Scripts.Render("~/bundles/jqueryval")
- }
|