templates/frontend/general/faq.html.twig line 1

Open in your IDE?
  1. {% set faq = customer.faq %}
  2. {% if faq.active == 1 %}
  3.     <section class="faq-area mt-5 mb-5" id="faq">
  4.         <div class="container">
  5.             <div class="row align-items-center pb-90 pb-md-30 pb-xs-30">
  6.                 <div class="col-lg-12 col-md-12">
  7.                     <div class="faq-wrap3 pr-30 pr-lg-0 pr-md-0 pr-xs-0">
  8.                         <h2 class="sect-title mb-5">{{ 'app.faq_complete'|trans }}</h2>
  9.                         <div class="faq-que-list faq-que2 mb-30">
  10.                             <div class="accordion" id="accordionExample">
  11.                                 {% for item in faq.items %}
  12.                                 <div class="accordion-item">
  13.                                     <h2 class="accordion-header" id="heading{{ loop.index }}">
  14.                                         <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{ loop.index }}" aria-expanded="false" aria-controls="collapse{{ loop.index }}">
  15.                                             <span>{{ "%02d"|format(loop.index) }}. </span> {{ item.name }}
  16.                                         </button>
  17.                                     </h2>
  18.                                     <div id="collapse{{ loop.index }}" class="accordion-collapse collapse"
  19.                                          aria-labelledby="heading{{ loop.index }}" data-bs-parent="#accordionExample">
  20.                                         <div class="accordion-body">
  21.                                             <p class="fs-14">{{ item.description|raw }}</p>
  22.                                         </div>
  23.                                     </div>
  24.                                 </div>
  25.                                 {% endfor %}
  26.                             </div>
  27.                         </div>
  28.                     </div>
  29.                 </div>
  30.             </div>
  31.         </div>
  32.     </section>
  33. {% endif %}