|
|
@@ -7,17 +7,28 @@
|
|
|
ActionEdu actionEdu = Model.Obj;
|
|
|
}
|
|
|
|
|
|
+<header>
|
|
|
+ <h2>Nouvelle Action Educative</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 => actionEdu.Id)
|
|
|
@Html.HiddenFor(model => actionEdu.Ordre)
|
|
|
@Html.HiddenFor(model => actionEdu.AnneeId)
|
|
|
+ @Html.HiddenFor(model => actionEdu.Neutralise)
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ @Html.LabelFor(model => actionEdu.ActionEduThematiqueId, htmlAttributes: new { @class = "control-label col-md-2" })
|
|
|
+ <div class="col-md-10">
|
|
|
+ @Html.DropDownListFor(model => actionEdu.ActionEduThematiqueId, Model.Sel_Thematique, htmlAttributes: new { @class = "form-control" })
|
|
|
+ @Html.ValidationMessageFor(model => actionEdu.ActionEduThematiqueId, "", new { @class = "text-danger" })
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
@Html.LabelFor(model => actionEdu.Numero, htmlAttributes: new { @class = "control-label col-md-2" })
|
|
|
@@ -43,34 +54,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="form-group">
|
|
|
- @Html.LabelFor(model => actionEdu.Neutralise, htmlAttributes: new { @class = "control-label col-md-2" })
|
|
|
- <div class="col-md-10">
|
|
|
- @Html.EditorFor(model => actionEdu.Neutralise, new { htmlAttributes = new { @class = "form-control" } })
|
|
|
- @Html.ValidationMessageFor(model => actionEdu.Neutralise, "", new { @class = "text-danger" })
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="form-group">
|
|
|
- @Html.LabelFor(model => actionEdu.ActionEduThematiqueId, htmlAttributes: new { @class = "control-label col-md-2" })
|
|
|
- <div class="col-md-10">
|
|
|
- @Html.DropDownListFor(model => actionEdu.ActionEduThematiqueId, Model.Sel_Thematique, htmlAttributes: new { @class = "form-control" })
|
|
|
- @Html.ValidationMessageFor(model => actionEdu.ActionEduThematiqueId, "", new { @class = "text-danger" })
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
<div class="form-group">
|
|
|
<div class="col-md-offset-2 col-md-10">
|
|
|
- <input type="submit" value="Créer" class="btn btn-default" />
|
|
|
+ <input type="submit" value="Enregistrer" class="btn btn-default" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
}
|
|
|
|
|
|
<div>
|
|
|
- @Html.ActionLink("Retour à la liste", "Index")
|
|
|
-</div>
|
|
|
-
|
|
|
-@section Scripts {
|
|
|
-
|
|
|
-}
|
|
|
+ @Html.ActionLink("Annuler", "Index", new { annee_id = actionEdu.AnneeId })
|
|
|
+</div>
|