Listing 24.9. Widok akcji index
<body>
    <ul>
        <li><a href="{{ path('homepage', {'culture': 'pl'}) }}">pl</a></li>
        <li><a href="{{ path('homepage', {'culture': 'es'}) }}">es</a></li>
        ...
    </ul>

    <table>
        <thead>
            <tr>
                <th>lp.</th>
                <th>RGB</th>
                <th>Nazwa</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td>{{ loop.index }}.</td>
                <td>{{ entity.rgb }}</td>
                <td>{{ entity.name }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

</body>