Guest User

Untitled

a guest
Jan 2nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. @model RoosterSysteem.Models.UserInfo
  2. @{
  3. ViewBag.Title = "Eigen gegevens";
  4. }
  5. <h3>@ViewBag.Message</h3>
  6.  
  7. <html>
  8.  
  9. <body>
  10.  
  11. <style>
  12. table {
  13. border-spacing: 0;
  14. width: 100%;
  15. border: 1px solid #ddd;
  16. }
  17.  
  18. th, td {
  19. text-align: left;
  20. padding: 17px;
  21. }
  22.  
  23. tr:nth-child(even) {
  24. background-color: #f2f2f2
  25. }
  26. </style>
  27. @using (Html.BeginForm("Edit", "Gebruiker", FormMethod.Post))
  28. {
  29. <table id="myTable">
  30.  
  31. <tr>
  32. <th>Naam</th>
  33. <th>Achternaam</th>
  34. <th>Mail</th>
  35. <th>Faculty</th>
  36. <th>Module</th>
  37. <th>Beschikbare uren</th>
  38. </tr>
  39. <tr>
  40. <td>@Html.LabelFor(model => model.FirstName)</td>
  41. <td>@Html.LabelFor(model => model.LastName)</td>
  42. <td>@Html.LabelFor(model => model.MailAddress)</td>
  43. <td>@Html.LabelFor(model => model.Faculty)</td>
  44. <td>@Html.LabelFor(model => model.Module)</td>
  45. <td>@Html.LabelFor(model => model.AvailableHours)</td>
  46. </tr>
  47. </table>
  48. <p><button onclick="Edit()">Wijzigen</button></p>
  49. }
  50. </body>
  51. </html>
Add Comment
Please, Sign In to add comment