22 lines
690 B
Twig
22 lines
690 B
Twig
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Schulname</th>
|
|
<th>Eintritt</th>
|
|
<th>Austritt</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for schulbesuch in schulbesuche %}
|
|
<tr>
|
|
<td>{{ schulbesuch.schule.name }}</td>
|
|
<td>{{ schulbesuch.eintritt ? schulbesuch.eintritt|date('Y-m-d') : '' }}</td>
|
|
<td>{{ schulbesuch.austritt ? schulbesuch.austritt|date('Y-m-d') : '' }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<div class="alert alert-danger" role="alert">Bitte geben Sie hier mindestens die aktuell bzw. zuletzt besuchte Schule an.</div>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table> |