| 12345678910111213141516171819202122232425262728293031323334353637 |
- @model CD67.ModeleMVC.Entity.TypeViking
- @{
- ViewBag.Title = "Edit";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- <title>Type de Vikings</title>
- <h1>Edition</h1>
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
- <div class="form-horizontal">
- <h4>Type de Viking</h4>
- <hr />
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => model.Id)
- <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 autofocus" } })
- @Html.ValidationMessageFor(model => model.Libelle, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="col-md-7">
- </div>
- <div class="form-group col-md-5">
- <div class="col-md-offset-2 col-md-10">
- <input type="submit" value="Enregistrer" class="btn btn-info" />
- <input onclick="location.href='@Url.Action("Index", "TypeViking")';return false;" value="Retour" class="btn btn-default" />
- </div>
- </div>
- </div>
- }
|