templates/frontend/general/how-to.html.twig line 1

Open in your IDE?
  1. {% set howto = customer.contentHowTo %}
  2. {% if howto.active == 1 %}
  3.     <section id="how-it-works" class="rts-player-static {{ howto.backgroundColor }}" {% if howto.backgroundImage.id is defined %}style="background-image: url('{{ howto.backgroundImage.src }}')"{% endif %}>
  4.         <div class="container">
  5.             <div class="rts-player-static baseball nfl">
  6.                 <div class="row">
  7.                     <div class="col-md-4">
  8.                         <div class="p-5 bg-white h-100">
  9.                             <div class="how-it-works-icon icon text-center {{ howto.iconColor }}" style="height: 175px;">
  10.                                 {% if howto.howToIcon1.id is defined %}
  11.                                     <i class="align-middle {{ howto.howToIcon1.css }}"></i>
  12.                                 {% endif %}
  13.                             </div>
  14.                             <div class="content">
  15.                                 <h3 class="heading pb-3">1. Schritt</h3>
  16.                                 {{ howto.howToText1|raw }}
  17.                             </div>
  18.                         </div>
  19.                     </div>
  20.                     <div class="col-md-4">
  21.                         <div class="p-5 bg-white h-100">
  22.                             <div class="how-it-works-icon icon text-center {{ howto.iconColor }}" style="height: 175px;">
  23.                                 {% if howto.howToIcon2.id is defined %}
  24.                                     <i class="align-middle {{ howto.howToIcon2.css }}"></i>
  25.                                 {% endif %}
  26.                             </div>
  27.                             <div class="content">
  28.                                 <h3 class="heading pb-3">2. Schritt</h3>
  29.                                 {{ howto.howToText2|raw }}
  30.                             </div>
  31.                         </div>
  32.                     </div>
  33.                     <div class="col-md-4">
  34.                         <div class="p-5 bg-white h-100">
  35.                             <div class="how-it-works-icon icon text-center {{ howto.iconColor }}" style="height: 175px;">
  36.                                 {% if howto.howToIcon3.id is defined %}
  37.                                     <i class="align-middle {{ howto.howToIcon3.css }}"></i>
  38.                                 {% endif %}
  39.                             </div>
  40.                             <div class="content">
  41.                                 <h3 class="heading pb-3">3. Schritt</h3>
  42.                                 {{ howto.howToText3|raw }}
  43.                             </div>
  44.                         </div>
  45.                     </div>
  46.                 </div>
  47.             </div>
  48.         </div>
  49.     </section>
  50. {% endif %}