templates/web/core/newsletter.html.twig line 1

Open in your IDE?
  1. {% trans_default_domain 'web' %}
  2. {{ form_start(form,{attr:{'action': path('app_web_newsletter_add'), }}) }}
  3. <div role="form" class="wpcf7" dir="ltr" lang="en-US" style="padding-right:0; max-width: 100%;">
  4. <div class="custom-email">
  5. <span class="wpcf7-form-control-wrap your-email">
  6. {{ form_widget(form.email,{attr:{class:'wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email'}}) }}
  7. </span>
  8. <button type="submit" class="wpcf7-form-control wpcf7-submit qodef-btn-custom-border-hover qodef-btn-custom-hover-bg qodef-btn-custom-hover-color qodef-btn qodef-btn-medium">
  9. <span class="qodef-btn-text">{{ 'newsletter.send'|trans }}</span>
  10. </button>
  11. <span class="ajax-loader"></span>
  12. </div>
  13. </div>
  14. <div class="qodef-sp-prevent">
  15. <div class="qodef-sp-prevent-inner">
  16. <label class="qodef-sp-prevent-label" style="display: flex">
  17. <input type="checkbox" class="qodef-sp-prevent-input" style="" data-value="no" required="required">
  18. <span class="qodef-sp-prevent-checkbox" style="min-width: 16px"></span>
  19. <span style="display: flex; align-items: flex-end; flex-wrap: wrap; padding-left: 10px; text-align: left;">
  20. {{ 'base.agree'|trans }}
  21. <a class="qodef-sp-prevent-label" style="padding-left: 4px;" href="{{asset('build/files/gdpr_'~app.request.locale~'.pdf')}}" target="_blank">{{ 'newsletter.url'|trans }}</a>
  22. </span>
  23. </label>
  24. </div>
  25. </div>
  26. {{ form_end(form) }}