{% extends 'talent/base_dashboard_talent.html.twig' %}


{% block dashContent %}

    <h1 class="alttitle">Mes favoris</h1>
    <div id="ad" class="col s12">
        <table class="bordered highlight responsive-table">
            <thead>
            <tr>
                <th>Annonce</th>
                <th>Entreprise</th>
                <th>Action</th>
            </tr>
            </thead>
            <tbody>
            {% for bm in bookmarks %}
                <tr>
                    <td>{{ bm.ad.title }}</td>
                    <td>{{ bm.ad.company.brandname }}</td>

                    <td align="center" valign="center">
                        <a href="{{ path('talent_ad_bookmark_remove',{'id':bm.id}) }}" title="Modifier">
                            <i class="fa fa-remove" aria-hidden="true"></i>
                        </a>
                    </td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>

{% endblock %}