<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-e-interco">
                    </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" } )) }}

            {% if configurationGenerale.fields.menu_footer_outils is defined and not ez_is_field_empty(configurationGenerale, "menu_footer_outils") %}
                {{ render_esi (controller("AyalineCollectiviteBundle:PageLayout:menu", {"type": 'menu_footer_outils', "template" : "AyalineEzMiniSitesCollectivitesBundle:parts:menu_footer_tools.html.twig" } )) }}
            {% endif %}

            <div class="col-md-4 col-sm-12 col-logos">
                {% 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'})) }}
                    </div>
                {% endif %}
                {{ render_esi (controller("AyalineCollectiviteBundle:PageLayout:getSocialNetworks", {"template": "AyalineEzMiniSitesCollectivitesBundle:parts:social_networks_footer.html.twig"})) }}
            </div>

        </div>
    </div>
    <div class="footer-bottom">
        <div class="container">
            {{ render_esi (controller("AyalineCollectiviteBundle:PageLayout:menu", {"type": 'menu_footer', "template" : "AyalineCollectiviteBundle:parts:menu_footer.html.twig" } )) }}
        </div>
    </div>
</footer>