Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model RoosterSysteem.Models.UserInfo
- @{
- ViewBag.Title = "Eigen gegevens";
- }
- <h3>@ViewBag.Message</h3>
- <html>
- <body>
- <style>
- table {
- border-spacing: 0;
- width: 100%;
- border: 1px solid #ddd;
- }
- th, td {
- text-align: left;
- padding: 17px;
- }
- tr:nth-child(even) {
- background-color: #f2f2f2
- }
- </style>
- @using (Html.BeginForm("Edit", "Gebruiker", FormMethod.Post))
- {
- <table id="myTable">
- <tr>
- <th>Naam</th>
- <th>Achternaam</th>
- <th>Mail</th>
- <th>Faculty</th>
- <th>Module</th>
- <th>Beschikbare uren</th>
- </tr>
- <tr>
- <td>@Html.LabelFor(model => model.FirstName)</td>
- <td>@Html.LabelFor(model => model.LastName)</td>
- <td>@Html.LabelFor(model => model.MailAddress)</td>
- <td>@Html.LabelFor(model => model.Faculty)</td>
- <td>@Html.LabelFor(model => model.Module)</td>
- <td>@Html.LabelFor(model => model.AvailableHours)</td>
- </tr>
- </table>
- <p><button onclick="Edit()">Wijzigen</button></p>
- }
- </body>
- </html>
Add Comment
Please, Sign In to add comment