Added headers to students.html

This commit is contained in:
Andrew Lalis 2019-04-22 12:30:25 +02:00 committed by andrewlalis
parent 868c22f8bf
commit 5670e25a40
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@
<h1>Students in <span th:text="${course.getName()}"></span></h1>
<table>
<tr>
<th>Student</th>
<th>Student Number</th>
<th>Email Address</th>
</tr>
<tr th:each="student: ${course.getStudents()}">
<td>
<a th:href="@{/students/{id}(id=${student.getId()})}"><span th:text="${student.getFullName()}"></span></a>