templates/widget/product-composition/default.html.twig line 1

Open in your IDE?
  1. <div class="product-widget product-widget__composition product-widget__white">
  2.     <div class="product-widget__heading">{{ title|default|raw }}</div>
  3.     <div class="composition__grid">
  4.         {% for composition in compositions %}
  5.             <div class="item">
  6.                 <div class="item__image">
  7.                     {% if composition.image %}
  8.                         <img src="{{ composition.image }}" alt="">
  9.                     {% endif %}
  10.                 </div>
  11.                 <div class="item__info">
  12.                     <div class="item__heading">{{ composition.name|default|raw }}</div>
  13.                     <div class="item__text content">
  14.                         {# КРАТКОЕ ОПИСАНИЕ #}
  15.                         {{ composition.caption|default|raw }}
  16.                     </div>
  17.                     <div class="item__text item__text-full content">
  18.                         {# ПОЛНОЕ ОПИСАНИЕ #}
  19.                         {{ composition.description|default|raw }}
  20.                     </div>
  21.                     <div class="item__more">читать о компоненте</div>
  22.                 </div>
  23.             </div>
  24.         {% endfor %}
  25.     </div>
  26.     <div class="composition__tabs">
  27.         {% for description in descriptions %}
  28.             <div class="item {{ description.is_open is defined and description.is_open ? 'opened' }}">
  29.                 <div class="item__header">
  30.                     <div class="item__heading">{{ description.name|default|raw }}</div>
  31.                     <div class="item__toggler">
  32.                         <svg><use xlink:href="/img/sprite_new.svg#plus" /></svg>
  33.                     </div>
  34.                 </div>
  35.                 <div class="item__content content">
  36.                     {{ description.description|default|raw }}
  37.                 </div>
  38.             </div>
  39.         {% endfor %}
  40.          {% if dermatest is defined and dermatest %}
  41.             <div class="item">
  42.                 <div class="item__row">
  43.                     <div class="item__image">
  44.                         <img src="/img/dermatest.svg" alt="">
  45.                     </div>
  46.                     <div class="item__text content">
  47.                         гипоаллергенность каждого продукта somelove подтверждена тестированием в научно-исследовательском институте dermatest в германии<br><a href="{{ dermatest }}" target="_blank">посмотреть сертификат</a>
  48.                     </div>
  49.                 </div>
  50.             </div>
  51.          {% endif %}
  52.     </div>
  53. </div>