templates/components/modals/newsletter-modal.html.twig line 1

Open in your IDE?
  1. <div
  2.     class="modal fade" 
  3.     id="newsletterModal" 
  4.     data-backdrop="static" 
  5.     data-keyboard="false" 
  6.     data-disable-newsletter-popup="{{ document.getProperty('disable_newsletter_popup') ? 'true' : 'false' }}"
  7.     tabindex="-1" 
  8.     aria-labelledby="newsletterModalLabel" 
  9.     aria-hidden="true"
  10. >
  11.     <div class="modal-dialog modal-xl modal-dialog-centered">
  12.         <div class="modal-content px-3 pt-3 pb-6 pb-lg-3 border-0 rounded-0">
  13.             <div class="modal-body">
  14.                 <button type="button" class="close position-absolute p-2" data-dismiss="modal" aria-label="Close">
  15.                     <span aria-hidden="true">&times;</span>
  16.                 </button>
  17.                 <div class="d-flex flex-wrap">
  18.                     <div class="text-container">
  19.                         <p class="title text-uppercase mb-3">
  20.                             {{ 'newsletter.modal.title'|trans }}
  21.                         </p>
  22.                         <p class="text">
  23.                             {{ 'newsletter.modal.text'|trans }}
  24.                         </p>
  25.                     </div>
  26.                     <div class="form-container">
  27.                         {% if document is defined and document and not isMobile|default() %}
  28.                             {% if document.getProperty('newsletterForm') %}
  29.                                 {{ pimcore_inc(document.getProperty('newsletterForm').getRealFullpath()) }}
  30.                             {% endif %}
  31.                         {% endif %}
  32.                     </div>
  33.                 </div>
  34.             </div>
  35.         </div>
  36.     </div>
  37. </div>