{% form_theme form '@CHCookieConsent/form/cookie_consent_theme.html.twig' %}
<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 %}">
{% block title %}
<h3 class="ch-cookie-consent__title">{{ 'ch_cookie_consent.title'|trans({}, 'CHCookieConsentBundle') }}</h3>
{% endblock %}
{% block intro %}
<p class="ch-cookie-consent__intro">{{ 'ch_cookie_consent.intro'|trans({}, 'CHCookieConsentBundle') }}</p>
{% endblock %}
{{ form_start(form, {'attr': {'class': 'ch-cookie-consent__form'}}) }}
<div class="ch-cookie-consent__category-group mb-4" style="display:none">
{% for child in form %}
{% if child.vars.block_prefixes[0] != 'button' %}
{{ form_row(child) }}
{% endif %}
{% endfor %}
</div>
<div class="loading-overlay "></div>
<div class="ch-cookie-consent__btn-group">
{{ form_rest(form) }}
{% block toggle_details %}
<div class="ch-cookie-consent__toggle-details-grp">
<span class="ch-cookie-consent__toggle-details-show">{{ 'ch_cookie_consent.show_details'|trans({}, 'CHCookieConsentBundle') }}</span>
<span class="ch-cookie-consent__toggle-details-hide">{{ 'ch_cookie_consent.hide_details'|trans({}, 'CHCookieConsentBundle') }}</span>
</div>
{% endblock %}
</div>
<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>
{{ form_end(form) }}
</div>