templates/frontend-eforum/_partials/modules/contact.html.twig line 1

Open in your IDE?
  1. <section class="contact" data-parent="#contactCallapse">
  2.     {% if module.title is defined %}
  3.         <div class="container">
  4.             <div class="row">
  5.                 <div class="col col-xs-12">
  6.                     <h1 class="contact__mainTitle">
  7.                         {{ module.title }}
  8.                     </h1>
  9.                 </div>
  10.             </div>
  11.         </div>
  12.     {% endif %}
  13.     <div class="contact__container container">
  14.         <div class="row">
  15.             {% if module.sections is defined and module.sections is not empty %}
  16.                 {% for section in module.sections %}
  17.                     <div class="col col-md-6 col-12 contact__iconMobile">
  18.                         <div class="contact__iconWrap" data-contact-toogle-button="contact{{ loop.index }}">
  19.                             <div class="contact__iconInside">
  20.                                 {% if section.icon is defined %}
  21.                                     <div class="contact__iconIco">
  22.                                         <span class="contact__iconIcoSingle icon--{{ section.icon }}"></span>
  23.                                     </div>
  24.                                 {% endif %}
  25.                                 {% if section.title is defined %}
  26.                                     <h3 class="contact__iconTitle">
  27.                                         {{ section.title }}
  28.                                     </h3>
  29.                                 {% endif %}
  30.                                 {% if section.description is defined %}
  31.                                     <p class="contact__iconContent">
  32.                                         {{ section.description }}
  33.                                     </p>
  34.                                 {% endif %}
  35.                             </div>
  36.                         </div>
  37.                     </div>
  38.                 {% endfor %}
  39.             {% endif %}
  40.         </div>
  41.     </div>
  42.     <div class="container contact__tabs">
  43.         <div class="row">
  44.             <div class="col col-xs-12">
  45.                 {% if module.sections is defined and module.sections is not empty %}
  46.                     {% for section in module.sections %}
  47.                         <div id="contact{{ loop.index }}" class="contact__inside" data-contact-toogle>
  48.                             <div class="contact__info">
  49.                                 <div class="row">
  50.                                     <div class="col-md-12">
  51.                                         {% if section.faqTitle is defined %}
  52.                                             <h2 class="contact__infoTitle">
  53.                                                 {{ section.faqTitle }}
  54.                                             </h2>
  55.                                         {% endif %}
  56.                                         {% if section.faqQuestions is defined and section.faqQuestions is not empty %}
  57.                                             {% for i in 1..1 %}
  58.                                                 {% include "frontend-eforum/_partials/faq-item.html.twig" with {
  59.                                                     list: section.faqQuestions
  60.                                                 } %}
  61.                                             {% endfor %}
  62.                                         {% endif %}
  63.                                         {% if section.linkedTemplate is defined %}
  64.                                             <a class="contact__infoUrl"
  65.                                                href="{{ path('efShowDynamicTemplate', {dynamicType: section.linkedTemplate}) }}"
  66.                                             >
  67.                                                 {% if section.externalLinkText is defined %}
  68.                                                     {{ section.externalLinkText }}
  69.                                                 {% endif %}
  70.                                                 <span class="contact__infoUrlArrow icon--arrow-right"></span>
  71.                                             </a>
  72.                                         {% endif %}
  73.                                     </div>
  74. {#                                    <div class="col-md-5">#}
  75. {#                                        <div class="contact__infoWrap">#}
  76. {#                                            <h2 class="contact__infoTitle">#}
  77. {#                                                Nadal potrzebuję wsparcia#}
  78. {#                                            </h2>#}
  79. {#                                            <div class="contact__infoIcon">#}
  80. {#                                                <span class="contact__infoIcoSingle icon--email"></span>#}
  81. {#                                            </div>#}
  82. {#                                            <button data-toggle="modal"#}
  83. {#                                                    data-target="#exampleModalCenter"#}
  84. {#                                                    class="button button--blue button--with-arrow"#}
  85. {#                                                    type="submit">#}
  86. {#                                                Wyślij wiadomość#}
  87. {#                                            </button>#}
  88. {#                                        </div>#}
  89. {#                                    </div>#}
  90.                                 </div>
  91.                             </div>
  92.                         </div>
  93.                     {% endfor %}
  94.                     <div class="modal fade modalContact"
  95.                          id="exampleModalCenter"
  96.                          tabindex="-1"
  97.                          role="dialog"
  98.                          aria-labelledby="exampleModalCenterTitle"
  99.                          aria-hidden="true"
  100.                     >
  101.                         <div class="modal-dialog modal-dialog-centered modalContact__dialog" role="document">
  102.                             <div class="modal-content modalContact__contact">
  103.                                 <h3 class="modalContact__title">
  104.                                     Wypełnij formularz kontaktowy
  105.                                 </h3>
  106.                                 <h4 class="modalContact__subtitle">Wszystkie pola są wymagane</h4>
  107.                                 <form class="form contactForm"
  108.                                       data-url="{{ path('efSendContactEmail') }}"
  109.                                       data-form
  110.                                 >
  111.                                     <label class="form__fieldset">
  112.                                         <input data-form-valid="notempty" data-focus class="form__input" name="name" type="text">
  113.                                         <span class="form__label">Imię i nazwisko</span>
  114.                                     </label>
  115.                                     <label class="form__fieldset">
  116.                                         <input data-form-valid="email" data-focus class="form__input" name="email" type="email">
  117.                                         <span class="form__label">Adres e-mail</span>
  118.                                     </label>
  119.                                     <div class="comboBox" id="comboBox0" data-comboBoxContainer="">
  120.                                         <span class="icon--chevron-bottom comboBox__arrow"></span>
  121.                                         <input data-form-valid="notempty" class="comboBox__input" data-comboBoxInput="" value="">
  122.                                         <div class="comboBox__current" data-comboBoxCurrent="">
  123.                                                     <span class="comboBox__name" data-comboBoxName>
  124.                                                         Wybierz temat wiadomości
  125.                                                     </span>
  126.                                         </div>
  127.                                         <div class="comboBox__values" data-comboBoxValues="">
  128.                                             <div class="comboBox__value" data-comboBoxValue="">
  129.                                                 Wybierz temat wiadomości
  130.                                             </div>
  131.                                             {% if module.formTopics is defined and module.formTopics is not empty %}
  132.                                                 {% for topic in module.formTopics %}
  133.                                                     {% if topic.topic is defined %}
  134.                                                         <div class="comboBox__value" data-comboBoxValue="{{ topic.topic }}">
  135.                                                             {{ topic.topic }}
  136.                                                         </div>
  137.                                                     {% endif %}
  138.                                                 {% endfor %}
  139.                                             {% endif %}
  140.                                         </div>
  141.                                     </div>
  142.                                     <label class="form__fieldset form__fieldset--textarea">
  143.                                         <textarea data-form-valid="notempty"
  144.                                                   data-focus class="form__input form__input--textarea"
  145.                                                   name="description">
  146.                                         </textarea>
  147.                                         <span class="form__label">Twoja wiadomość</span>
  148.                                     </label>
  149.                                     <span class="form__agreeText">
  150.                                             Administratorem Twoich danych osobowych jest Forum Media Polska Sp. z o.o., ul. Polska 13, 60-595 Poznań.
  151.                                             Będziemy przetwarzać dane podane w formularzu wyłącznie w celu realizacji Twojego zgłoszenia.
  152.                                             Pełna informacja o regułach przetwarzania danych osobowych dostępna jest <a href="/polityka-prywatnosci">tutaj</a>.
  153.                                     </span>
  154.                                     <div class="modalContact__submit">
  155.                                         <button data-target="#exampleModalCenter"
  156.                                                 class="button button--bordered button--with-arrow product-nav__add"
  157.                                                 type="submit">
  158.                                             Wyślij wiadomość
  159.                                         </button>
  160.                                     </div>
  161.                                 </form>
  162.                                 <button type="button" class="modalContact__close btn btn-secondary" data-dismiss="modal">
  163.                                     <span class="icon--close"></span>
  164.                                 </button>
  165.                             </div>
  166.                         </div>
  167.                     </div>
  168.                 {% endif %}
  169.             </div>
  170.         </div>
  171.     </div>
  172. </section>