<div id="liste-territoires" class="bg-dark2">
    <div class="container">
        <div class="row center-align">
            <div class="col s12">
                <div class="owl-carousel territory-carousel">
                    
                {% for territory in territories if territory.territory.isPrivate != true %}
                    {% set territory = territory.territory %}
                    <div class="item">
                        <h2 class="blue-text no-margin-top">
                            <a href="{{ path('territory_show',{'alias': territory.alias }) }}">
                            Le territoire de <span>{{ territory.brandname }}</span>
                            </a>
                        </h2>
                        <div class="embed-responsive embed-responsive-16by9">
                            <div class="col s12">
                                <iframe src="https://player.vimeo.com/video/{{ territory.presentationVideo.cdnUrl|replace({ "/videos/": ""}) }}"
                                        width="100%" height="640" frameborder="0" webkitallowfullscreen mozallowfullscreen
                                        allowfullscreen></iframe>
                            </div>
                        </div>
                        <div class="m-t-30">
                            <a class="btn btn-default" href="{{ path('territory_show',{'alias': territory.alias }) }}">
                                Voir le territoire
                            </a>
                        </div>
                    </div>
                {% endfor %}
                </div>
            </div>
        </div>
    </div>
</div>