{% extends 'AcmeFilmsBundle::base.html.twig' %}

{% block body -%}

    <h1>Genre list</h1>

    <table class="records_list">
        <thead>
            <tr>
                <th>Name</th>
                <th>Genres</th>
                <th>Actors</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('film_show', { 'id': entity.id }) }}">{{ entity.name }}</a></td>
                <td>{{ entity.genres|join(',') }}</td>
                <td>{{ entity.actors|join(',') }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

{% endblock %}

{% extends 'AcmeFilmsBundle::base.html.twig' %}

{% block body -%}

    <h1>Genre list</h1>

    <table class="records_list">
        <thead>
            <tr>
                <th>Name</th>
                <th>Categories</th>
                <th>Genres</th>
                <th>Actors</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('film_show', { 'id': entity.id }) }}">{{ entity.name }}</a></td>
                <td>{{ entity.categories|join(',') }}</td>
                <td>{{ entity.genres|join(',') }}</td>
                <td>{{ entity.actors|join(',') }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

{% endblock %}

Add field 'Categories' in films table
Add field 'Categories' in films table
