onlineanmeldung-pegnitz/templates/schueler/_show.html.twig

72 lines
1.9 KiB
Twig

<table class="table table-hover">
<tbody>
<tr>
<th>Name (gesamt)</th>
<td>{{ schueler.vorname }} {{ schueler.nachname }}</td>
</tr>
<tr>
<th>Rufname</th>
<td>{{ schueler.rufname }}</td>
</tr>
<tr>
<th>Geburtsdatum</th>
<td>{{ schueler.geburtsdatum ? schueler.geburtsdatum|date('d.m.Y') : '' }}</td>
</tr>
<tr>
<th>Geburtsort</th>
<td>{{ schueler.geburtsort }}</td>
</tr>
<tr>
<th>Geschlecht</th>
<td>
{% if schueler.geschlecht == 'm' %}
Männlich
{% elseif schueler.geschlecht == 'w' %}
Weiblich
{% elseif schueler.geschlecht == 'w' %}
Divers
{% else %}
{% endif %}
</td>
</tr>
<tr>
<th>Straße</th>
<td>{{ schueler.strasse }} {{ schueler.hsnr }}</td>
</tr>
<tr>
<th>Ort</th>
<td>{{ schueler.plz }} {{ schueler.ort }}</td>
</tr>
<tr>
<th>Telefonnummer</th>
<td>{{ schueler.tel }}</td>
</tr>
<tr>
<th>E-Mail Adresse</th>
<td>{{ schueler.email }}</td>
</tr>
<tr>
<th>Geburtsland</th>
<td>{{ schueler.geburtslandReadable }}</td>
</tr>
{% if schueler.zuzugAm is not null %}
<tr>
<th>Zuzug nach Deutschland</th>
<td>{{ schueler.zuzugAm ? schueler.zuzugAm|localizeddate('full', 'none', 'de' , null, 'yyyy') : '' }}</td>
</tr>
<tr>
<th style="text-align:left">Zuzugsart:</th>
<td>{{ schueler.zuzugsart ? schueler.zuzugsartReadable }}</td>
</tr>
{% endif %}
<tr>
<th>Staatsangehörigkeit</th>
<td>{{ schueler.staatsangehoerigkeitReadable }}</td>
</tr>
<tr>
<th>Bekenntnis</th>
<td>{{ schueler.bekenntnisReadable }}</td>
</tr>
</tbody>
</table>