Delete.cshtml 898 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. @model CD67.ModeleMVC.Entity.TypeViking
  2. @{
  3. ViewBag.Title = "Delete";
  4. Layout = "~/Views/Shared/_Layout.cshtml";
  5. }
  6. <title>Type de Vikings</title>
  7. <h2>Suppression</h2>
  8. <h3>Voulez-vous vraiment supprimer cet enregistrement?</h3>
  9. <div>
  10. <h4>Type de Viking</h4>
  11. <hr />
  12. <dl class="dl-horizontal">
  13. <dt>
  14. @Html.DisplayNameFor(model => model.Libelle)
  15. </dt>
  16. <dd>
  17. @Html.DisplayFor(model => model.Libelle)
  18. </dd>
  19. </dl>
  20. @using (Html.BeginForm())
  21. {
  22. @Html.AntiForgeryToken()
  23. <div class="col-md-7">
  24. </div>
  25. <div class="form-group col-md-5">
  26. <input type="submit" value="Supprimer" class="btn btn-danger" />
  27. <input onclick="location.href='@Url.Action("Index", "TypeViking")';return false;" value="Retour" class="btn btn-default" />
  28. </div>
  29. }
  30. </div>
  31. <br />