Details.cshtml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @model CD67.ModeleMVC.Entity.Viking
  2. @{
  3. ViewBag.Title = "Details";
  4. Layout = "~/Views/Shared/_Layout.cshtml";
  5. }
  6. <title>Vikings</title>
  7. <h1>Details</h1>
  8. <div>
  9. <h4>Viking</h4>
  10. <hr />
  11. <dl class="dl-horizontal">
  12. <dt>
  13. @Html.DisplayNameFor(model => model.Nom)
  14. </dt>
  15. <dd>
  16. @Html.DisplayFor(model => model.Nom)
  17. </dd>
  18. <dt>
  19. @Html.DisplayNameFor(model => model.TypeViking.Libelle)
  20. </dt>
  21. <dd>
  22. @Html.DisplayFor(model => model.TypeViking.Libelle)
  23. </dd>
  24. <dt>
  25. @Html.DisplayNameFor(model => model.Description)
  26. </dt>
  27. <dd>
  28. @Html.DisplayFor(model => model.Description)
  29. </dd>
  30. <dt>
  31. @Html.DisplayNameFor(model => model.DateCreation)
  32. </dt>
  33. <dd>
  34. @Html.DisplayFor(model => model.DateCreation)
  35. </dd>
  36. <dt>
  37. @Html.DisplayNameFor(model => model.DateEdition)
  38. </dt>
  39. <dd>
  40. @Html.DisplayFor(model => model.DateEdition)
  41. </dd>
  42. <dt>
  43. @Html.DisplayNameFor(model => model.costaud)
  44. </dt>
  45. <dd>
  46. @Html.DisplayFor(model => model.costaud)
  47. </dd>
  48. <dt>
  49. @Html.DisplayNameFor(model => model.CasqueCornu)
  50. </dt>
  51. <dd>
  52. @Html.DisplayFor(model => model.CasqueCornu)
  53. </dd>
  54. <dt>
  55. @Html.DisplayNameFor(model => model.NombreVictoires)
  56. </dt>
  57. <dd>
  58. @Html.DisplayFor(model => model.NombreVictoires)
  59. </dd>
  60. </dl>
  61. </div>
  62. <p>
  63. @Html.ActionLink("Editer", "Edit", new { id = Model.Id }) |
  64. @Html.ActionLink("Retour", "Index")
  65. </p>