templates/gdpr.html.twig line 1

Open in your IDE?
  1. {% if
  2.     app.environment != 'test'
  3.     and not app.request.cookies.has(gdprCookieName) %}
  4. <div id="gdpr-container">
  5.     <div id="gdpr-cover"></div>
  6.     <div id="gdpr-popup">
  7.         <strong>{% trans %}This website uses cookies to manage user logging information. It does not sell, nor distribute, any personal data to third parties.{% endtrans %}</strong>
  8.         <form id="cookies-form" action="{{ path('gdpr') }}" method="post">
  9.             <input id="gdpr-checkbox" type="checkbox" required> <label for="gdpr-checkbox">{% trans %}I accept the use of cookies.{% endtrans %}</label>
  10.             <button class="btn btn-primary">{% trans %}OK{% endtrans %}</button>
  11.         </form>
  12.     </div>
  13. </div>
  14. {% endif %}