mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 15:15:15 +01:00
Initiale Version
This commit is contained in:
20
Kapitel_10/Lektion_4/symfony/app/Resources/views/default/index.html.twig
Executable file
20
Kapitel_10/Lektion_4/symfony/app/Resources/views/default/index.html.twig
Executable file
@@ -0,0 +1,20 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<table>
|
||||
<tr>
|
||||
<th>Künstler</th>
|
||||
<th>Album</th>
|
||||
<th>Erscheinungsjahr</th>
|
||||
</tr>
|
||||
{% for cd in cds %}
|
||||
<tr>
|
||||
<td>{{ cd.kuenstler.name }}</td>
|
||||
<td>
|
||||
<a href="{{ path('cd', {'cdId': cd.id}) }}">{{ cd.name }}</a>
|
||||
</td>
|
||||
<td>{{ cd.erscheinungsjahr }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user