themes/BootstrapTheme/CHCookieConsentBundle/views/cookie_consent.html.twig line 1

Open in your IDE?
  1. {% form_theme form '@CHCookieConsent/form/cookie_consent_theme.html.twig' %}
  2. <div class="container position-relative p-2  ch-cookie-consent ch-cookie-consent--{{ theme }}-theme ch-cookie-consent--{{ position }} {% if simplified %}ch-cookie-consent--simplified{% endif %}">
  3.     <div class="text-center pb-md-2 pb-3">
  4.     {% block intro %}
  5.         <p class="text-center pt-2 d-inline-block mb-0"> {{ 'ch_cookie_consent.introduction'|trans }}</p> 
  6.         {% block read_more %}
  7.             <div class="d-inline-block"><a class="ch-cookie-consent__read-more" href="{% block read_more_link %}/page/charte-de-confidentialite{% endblock %}" target="_blank">{{ 'ch_cookie_consent.read_more'|trans }}</a></div>
  8.         {% endblock %}
  9.          {% if simplified %}
  10.             {% block toggle_details %}
  11.                 <div class="ch-cookie-consent__toggle-details d-inline-block">
  12.                     <span class="ch-cookie-consent__toggle-details-show">{{ 'ch_cookie_consent.show_details'|trans }}</span>
  13.                     <span class="ch-cookie-consent__toggle-details-hide">{{ 'ch_cookie_consent.hide_details'|trans }}</span>
  14.                 </div>
  15.             {% endblock %}
  16.         {% endif %}
  17.     {% endblock %}
  18.     </div>
  19.    
  20.     {{ form_start(form, {'action': path('sylius_shop_homepage'), 'attr': {'class': 'ch-cookie-consent__form mt-0'}}) }}
  21.     <div class="ch-cookie-consent__category-group mb-3">
  22.         {% for child in form %}
  23.             {% if child.vars.block_prefixes[0] != 'button' %}
  24.                 {{ form_row(child) }}
  25.             {% endif %}
  26.         {% endfor %}
  27.     </div>
  28.    
  29.     <div class="ch-cookie-consent__btn-group row align-items-center justify-content-center">
  30.         {{ form_rest(form) }}
  31.     </div>
  32.     {{ form_end(form) }}
  33. </div>