templates/_parts/realty/_layout-apartments-print.html.twig line 1

Open in your IDE?
  1. {% set class = class|default('') %}
  2. {% set apartments = apartments|default([]) %}
  3. <div class="layout-apartments-print {{ class }}">
  4.     <div class="layout-apartments-print__inner">
  5.         <a href="javascript:void(0);"
  6.            title="Квартиры с данной планировкой"
  7.            class="layout-apartments-print__link"
  8.            data-accordion-link
  9.         >
  10.             <span class="layout-apartments-print__link-title print__body-text print__text10 print__body-text_accent">
  11.                 Квартиры с данной планировкой
  12.             </span>
  13.         </a>
  14.         <div class="layout-apartments-print__block">
  15.             <ul class="layout-apartments-print__list">
  16.                 {% for price,apartment in apartments %}
  17.                     <li class="layout-apartments-print__item">
  18.                         <div class="layout-apartments-print__floor print__body-text print__text09">
  19.                             {{ apartment['floors'] }} этаж
  20.                         </div>
  21.                         <div class="layout-apartments-print__renovation print__body-text print__text09 print__body-text_grey">
  22.                             {{ apartment['renovations'] }}
  23.                         </div>
  24.                         <div class="layout-apartments-print__price print__body-text print__text09 print__body-text_bold">
  25.                             {{ price|price }}
  26.                         </div>
  27.                     </li>
  28.                 {% endfor %}
  29.             </ul>
  30.         </div>
  31.     </div>
  32. </div>