custom/plugins/NextagTheme/src/Resources/views/storefront/component/privacy-notice.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@parent/storefront/component/privacy-notice.html.twig' %}
  2. {% block component_privacy_notice %}
  3.     <div class="form-text privacy-notice">
  4.         {% block component_privacy_title %}
  5.             
  6.         {% endblock %}
  7.         {% block component_privacy_dpi %}
  8.             {% if config('core.loginRegistration.requireDataProtectionCheckbox') == 1 %}
  9.                 <div class="{{ formCheckboxWrapperClass }} data-protection-information">
  10.                     {% block component_privacy_dpi_checkbox %}
  11.                         <input type="checkbox"
  12.                                class="{{ formCheckInputClass }} {% if formViolations.getViolations('/acceptedDataProtection') is not empty %} is-invalid{% endif %}"
  13.                                name="acceptedDataProtection"
  14.                                required="required"
  15.                                value="1"
  16.                                id="acceptedDataProtection"
  17.                                {% if data.get('acceptedDataProtection') %}checked="checked"{% endif %}>
  18.                     {% endblock %}
  19.                     {% block component_privacy_dpi_label %}
  20.                         <label class="custom-control-label no-validation"
  21.                                for="acceptedDataProtection">
  22.                             {# @deprecated tag:v6.5.0 - Translation parameter %url% will be removed, use %privacyUrl% and %tosUrl% instead #}
  23.                             {{ "general.privacyNotice"|trans|raw }}
  24.                             {{ "general.required"|trans|sw_sanitize }}
  25.                         </label>
  26.                     {% endblock %}
  27.                 </div>
  28.             {% else %}
  29.                 <div class="data-protection-information">
  30.                     {% block component_privacy_label %}
  31.                         <label>
  32.                             {# @deprecated tag:v6.5.0 - Translation parameter %url% will be removed, use %privacyUrl% and %tosUrl% instead #}
  33.                             {{ "general.privacyNotice"|trans|raw }}
  34.                         </label>
  35.                     {% endblock %}
  36.                 </div>
  37.             {% endif %}
  38.         {% endblock %}
  39.     </div>
  40. {% endblock %}