templates/logement/equipement.html.twig line 1

Open in your IDE?
  1.   {% set nbr = 0  %} 
  2. <div class="col-lg-12">
  3.                             <div class="application_statics mt30">
  4.                                 <div class="row">
  5.                                     <div class="col-lg-12">
  6.                                         <h4 class="mb10">Features
  7.                                          
  8.                                  
  9.  {% set nbrcolone = 3 % annonce.equipements | length %}
  10.  
  11.                                          
  12.                                         </h4>
  13.                                     </div>
  14.                                     <div class="col-sm-6 col-md-6 col-lg-4">
  15.                                         <ul class="order_list list-inline-item">
  16.                                         
  17.  {% set nbr = 0 %}    
  18. {% for  equipement in  annonce.equipements %}
  19. <li><a href="#"><span class="flaticon-tick"></span>{{ equipement.nom }}</a></li>
  20.  {% set nbr = nbr + 1 %}    
  21.  {% if nbr  == nbrcolone %}
  22.  {% set nbr =  0 %}    
  23.          </ul>
  24.                                     </div>
  25.                                     <div class="col-sm-6 col-md-6 col-lg-4">
  26.                                         <ul class="order_list list-inline-item">
  27.  
  28.   {% endif %}
  29. {% endfor %}
  30.                                             
  31.                                          
  32.  
  33.                                         </ul>
  34.                                     </div>
  35.                                 </div>
  36.                             </div>
  37.                         </div>