{% block layout_cookie_permission_inner %}
{% set acceptAllCookies = config('core.basicInformation.acceptAllCookies') %}
<div class="cookie-permission-container" data-cookie-permission="true">
<div class="cookie-permission-inner p-4">
<div class="container">
<div class="row align-items-center">
{% block layout_cookie_permission_inner_content %}
<div class="col-12 cookie-permission-content mb-2">
<h3>{{ "cookie.headline"|trans|sw_sanitize }}</h3>
<p>{{ "cookie.message"|trans({
'%url%': path('frontend.cms.page', { id: config('core.basicInformation.privacyPage') })
})|raw }}</p>
</div>
{% endblock %}
{% block layout_cookie_permission_inner_button %}
<div class="col-12">
{% block layout_cookie_permission_inner_button_deny %}
<span class="d-none cookie-permission-button js-cookie-permission-button">
<button
type="submit"
class="w-100 mb-2 btn {{ acceptAllCookies ? 'btn-outline-danger' : 'btn-secondary' }}">
{{ "cookie.deny"|trans|sw_sanitize }}
</button>
</span>
{% endblock %}
{% block layout_cookie_permission_inner_button_configuration %}
<span class="js-cookie-configuration-button">
<button
type="submit"
class="w-100 mb-2 btn {{ acceptAllCookies ? 'btn-secondary' : 'btn-primary' }}">
{{ "cookie.configure"|trans|sw_sanitize }}
</button>
</span>
{% endblock %}
{% if acceptAllCookies %}
{% block layout_cookie_permission_inner_button_accept_all %}
<span class="js-cookie-accept-all-button">
<button
type="submit"
class="w-100 btn btn-primary">
{{ "cookie.acceptAll"|trans|sw_sanitize }}
</button>
</span>
{% endblock %}
{% endif %}
</div>
{% endblock %}
</div>
</div>
</div>
</div>
{% endblock %}