Added headers to students.html
This commit is contained in:
parent
868c22f8bf
commit
5670e25a40
|
@ -10,6 +10,11 @@
|
||||||
<h1>Students in <span th:text="${course.getName()}"></span></h1>
|
<h1>Students in <span th:text="${course.getName()}"></span></h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Student</th>
|
||||||
|
<th>Student Number</th>
|
||||||
|
<th>Email Address</th>
|
||||||
|
</tr>
|
||||||
<tr th:each="student: ${course.getStudents()}">
|
<tr th:each="student: ${course.getStudents()}">
|
||||||
<td>
|
<td>
|
||||||
<a th:href="@{/students/{id}(id=${student.getId()})}"><span th:text="${student.getFullName()}"></span></a>
|
<a th:href="@{/students/{id}(id=${student.getId()})}"><span th:text="${student.getFullName()}"></span></a>
|
||||||
|
|
Loading…
Reference in New Issue