themes/BootstrapTheme/templates/bundles/CHCookieConsentBundle/cookie_consent.html.twig line 1

Open in your IDE?
  1. {% form_theme form '@CHCookieConsent/form/cookie_consent_theme.html.twig' %}
  2. <div class="ch-cookie-consent ch-cookie-consent--{{ theme }}-theme ch-cookie-consent--{{ position }} {% if simplified %}ch-cookie-consent--simplified{% endif %} {% if chcookieconsent_isCookieConsentSavedByUser() == true %}d-none{% endif %}">
  3.    
  4.     {{ form_start(form, {'attr': {'class': 'ch-cookie-consent__form'}}) }}
  5.         <div class="text-right pb-1"><button id="cookie_consent_use_only_functional_cookies" name="cookie_consent[save]" class="ch-cookie-consent__btn ch-cookie-consent__btn_no_bg p-0">{{ 'app.cookie.continue_without_accept'|trans }}</button> </div>
  6.          {% block title %}
  7.             <h3 class="ch-cookie-consent__title">{{ 'ch_cookie_consent.title'|trans }}</h3>
  8.         {% endblock %}
  9.         {% block intro %}
  10.             <div class="ch-cookie-consent__intro">
  11.             {{ 'ch_cookie_consent.intro'|trans }} : 
  12.             <ul class="pl-2 list-unstyled">
  13.                 <li>&bull; {{ 'ch_cookie_consent.ch_cookie_user_experience'|trans|raw }} ,</li> 
  14.                 <li>&bull; {{ 'ch_cookie_consent.ch_cookie_content_performance'|trans|raw  }} ,</li> 
  15.                 <li>&bull; {{ 'ch_cookie_consent.ch_cookie_product_personalize'|trans|raw  }} ,</li> 
  16.                 <li>&bull; {{ 'ch_cookie_consent.ch_cookie_ads_display'|trans|raw  }} ,</li> 
  17.                 <li>&bull; {{ 'ch_cookie_consent.ch_cookie_service_interaction'|trans|raw  }}.</li> 
  18.             </ul>
  19.             {{ 'ch_cookie_consent.into2'|trans|raw  }} <a href="{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug': 'politique-de-confidentialite-et-cookie'}) }}" target="_blank" title="" class="text-underline color-pink-s"> {{ 'ch_cookie_consent.privacy_and_cookie_policy'|trans|raw  }}.</a>
  20.             </div>
  21.         {% endblock %}
  22.         <div class="ch-cookie-consent__category-group mb-4" style="display:none">
  23.             <div class="d-flex justify-content-center h-100 flex-column">
  24.                 <span class="ch-cookie-consent__toggle-details-hide"></span>
  25.                 {% for child in form %}
  26.                     {% if child.vars.block_prefixes[0] != 'button' %}
  27.                         {{ form_row(child) }}
  28.                     {% endif %}
  29.                 {% endfor %}
  30.             </div>
  31.             <div style="margin-top: -10px;"><button class="btn ch-cookie-consent__btn">{{ 'app.cookie.validate_my_choice'|trans }}</button></div>
  32.         </div>
  33.         <div class="ch-cookie-consent__btn-group">
  34.             {{ form_rest(form) }}
  35.             {% block toggle_details %}
  36.                 <div class="ch-cookie-consent__toggle-details-grp">
  37.                     <span class="ch-cookie-consent__toggle-details-show">{{ 'ch_cookie_consent.show_details'|trans({}, 'CHCookieConsentBundle') }}</span>
  38.                     <span class="ch-cookie-consent__toggle-details-hide">{{ 'ch_cookie_consent.hide_details'|trans({}, 'CHCookieConsentBundle') }}</span>
  39.                 </div>
  40.             {% endblock %}
  41.         </div>
  42.     {{ form_end(form) }}
  43. </div>