| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- @model CD67.FicheCollege.Entity.TypeCollege
- @{
- ViewBag.Title = "Création";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- <h2>Création</h2>
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
-
- <div class="form-horizontal">
- <h4>Type collège</h4>
- <hr />
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => model.Id)
- @Html.HiddenFor(model => model.Ordre)
- <div class="form-group">
- @Html.LabelFor(model => model.Libelle, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.EditorFor(model => model.Libelle, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => model.Libelle, "", 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" />
- </div>
- </div>
- </div>
- }
- <div>
- @Html.ActionLink("Retour à la liste", "Index")
- </div>
- @section Scripts {
- @Scripts.Render("~/bundles/jqueryval")
- }
|