<footer>
    <div class="footer-content">
        <div class="container">
            <div class="col-md-4 col-sm-6 col-xs-12 col-adress">
                {% if configurationGenerale is defined and configurationGenerale.fields.logo_footer is defined and not ez_is_field_empty(configurationGenerale, "logo_footer") %}
                    <div class="logo-footer">
                        <img src="{{ configurationGenerale.getFieldValue('logo_footer').uri }}" alt="logo-footer">
                    </div>
                {% endif %}

                <div class="adresse">
                    {% if configurationGenerale is defined and configurationGenerale.fields.titre_site_pied_page is defined and not ez_is_field_empty(configurationGenerale, "titre_site_pied_page") %}
                        <p>{{ ez_render_field(configurationGenerale, "titre_site_pied_page") }}</p>
                    {% endif %}
                    {% if configurationGenerale is defined and configurationGenerale.fields.coordonnees is defined and not ez_is_field_empty(configurationGenerale, "coordonnees") %}
                        {{ ez_render_field(configurationGenerale, 'coordonnees') }}
                    {% endif %}
                </div>
            </div>

            {{ render_esi (controller("AyalineCollectiviteBundle:PageLayout:menu", {"type": 'menu_principal', "template" : "AyalineEzMiniSitesCollectivitesBundle:parts:main_menu_footer.html.twig" } )) }}


            <div class="col-md-4 col-sm-12 col-logos">
                {% if configurationGenerale is defined and configurationGenerale.fields.reseaux_sociaux_titre is defined and not ez_is_field_empty(configurationGenerale, "reseaux_sociaux_titre") %}
                    <p>{{ ez_render_field(configurationGenerale, "reseaux_sociaux_titre") }}</p>
                {% endif %}
                {{ render_esi (controller("AyalineCollectiviteBundle:Home:getBlocHome", {'type': 'reseaux_sociaux_dossier',"template": "AyalineEzMiniSitesCollectivitesBundle:parts:social_networks_footer.html.twig",'contentParentId':'configuration_generale_minisite'})) }}
            </div>
            {% if configurationGenerale.fields.label_bas_page_liens is defined and not ez_is_field_empty(configurationGenerale, "label_bas_page_liens") %}
                <div class="footer-logos">
                    {{ render_esi (controller("AyalineCollectiviteBundle:Home:getBlocHome", {'type': 'label_bas_page_liens', 'template': 'AyalineCollectiviteBundle:embed:link_menu_footer.html.twig','contentParentId':'configuration_generale_minisite'})) }}
                </div>
            {% endif %}
        </div>
    </div>

    {{ render_esi (controller("AyalineCollectiviteBundle:PageLayout:menu", {"type": 'menu_footer_outils', "template" : "AyalineCollectiviteBundle:parts:menu_footer.html.twig" } )) }}

</footer>