src/Aqarmap/Bundle/MainBundle/Resources/views/Default/locationSectionIndexedSubLinks.html.twig line 1

Open in your IDE?
  1. {% for section in subLinksSections %}
  2.     <div id='sectionLinks{{ loop.index }}'
  3.          class="tab-pane {{ loop.first == true ? 'active' : '' }}">
  4.         <div id="moreLocationsContainer{{ loop.index }}" class="subsLinks sectionLoadMore">
  5.             {% if location is defined and location %}
  6.                 {% set sub_locations_links = knp_menu_get( 'aqarmap.propertyTypes_search.menu' ,[], {'attributes': {'id': 'sud-locations-links', 'section': section, 'location': location }}) %}
  7.             {% else %}
  8.                 {% set sub_locations_links = knp_menu_get( 'aqarmap.subLocations_search.menus' ,[], {'attributes': {'id': 'sud-locations-links', 'section': section }}) %}
  9.             {% endif %}
  10.             {% if sub_locations_links.children %}
  11.                 <div class="clearfix">
  12.                     {{ knp_menu_render(sub_locations_links, {'template': '@AqarmapListingBundle/ListingSearch/subLinksTemplate.html.twig'}) }}
  13.                 </div>
  14.             {% endif %}
  15.         </div>
  16.     </div>
  17. {% endfor %}