templates/news/content/NewsCars.html.twig line 17

Open in your IDE?
  1. {% if item.relatedCars %}
  2.     <div class="row mt-5">
  3.         {% if item.title %}
  4.             <div class="col-12">
  5.                 <h6>{{ item.title }}</h6>
  6.             </div>
  7.         {% endif %}
  8.         {% for car in item.relatedCars %}
  9.             {% if car.objectType == 'actual-car' %}
  10.                 <div class="col-md-3 d-flex align-items-stretch flex-column">
  11.                     {% include 'product/product_teaser.html.twig' with {'product': car} %}
  12.                 </div>
  13.             {% endif %}
  14.         {% endfor %}
  15.     </div>
  16. {% endif %}