templates/_parts/index/_payment-methods.html.twig line 1

Open in your IDE?
  1. {% set title = title|default('') %}
  2. {% if payment %}
  3.     <div class="index-page__block container container_spacer">
  4.         <div class="payment">
  5.             <div class="payment__title h1 text__black-text">{{ title }}</div>
  6.             <ul class="payment__list" data-accordion-container>
  7.                 {% for payment in payment %}
  8.                     <li class="payment__item grid-block" data-accordion-element>
  9.                         <a href="javascript:void(0);" class="payment__link text__medium"
  10.                            data-accordion-link
  11.                            data-switcher-link="{{ loop.index }}"
  12.                         >
  13.                             <span class="payment__position-wrap">
  14.                                 <span class="payment__position h4 text__grey03">
  15.                                     {{ loop.index|add_zero_before_number }}.
  16.                                 </span>
  17.                                 <span class="payment__link-text h4 text__grey03">
  18.                                     {{ payment.paymentName }}
  19.                                 </span>
  20.                             </span>
  21.                             <span class="payment__text-block" data-accordion-block>
  22.                                 <span class="payment__text-wrap">
  23.                                     <span class="payment__text text__body text__grey03">{{ payment.paymentText }}</span>
  24.                                 </span>
  25.                             </span>
  26.                         </a>
  27.                     </li>
  28.                 {% endfor %}
  29.             </ul>
  30.         </div>
  31.     </div>
  32. {% endif %}
  33. {% include '_parts/index/_mortgage.html.twig' with {
  34.     class: 'index-page__mortgage'
  35. } %}