{% if admin_user.eloquent().favouriteLinks | length %}

    <li data-section-id="section-favourites">
        <button type="button" class="sectionHeader" aria-expanded="false" aria-controls="section-favourites-panel">
            <i class="fa fa-star sectionHeader-icon"></i>
            <span class="sectionHeader-label">Favourites</span>
            <i class="fa fa-chevron-right sidebar-toggle-icon"></i>
        </button>
        <div id="section-favourites-panel" class="sidebar-section__panel">
            <ul>
                {% for menu_item in admin_user.eloquent().favouriteLinks %}
                    <li>
                        <a href="{{ menu_item.path }}">{{ menu_item.title }}</a>
                    </li>
                {% endfor %}
            </ul>
        </div>
    </li>

{% endif %}
