custom/apps/DmitsStreetHousenumber/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_script_hmr_mode %}
  3.     
  4.     {% if config('DmitsStreetHousenumber.config.active') %}
  5.          <script>
  6.             var dmitsStreetLabel="{{ "dmits.streethousenumber.custom.streetLabel"|trans|sw_sanitize }}{{ "general.required"|trans|sw_sanitize }}";
  7.             var dmitsStreetPlaceholder="{{ "dmits.streethousenumber.custom.streetPlaceholder"|trans|striptags }}";
  8.             var dmitsHousenumberLabel="{{ "dmits.streethousenumber.custom.housenumberLabel"|trans|sw_sanitize }}{% if config('DmitsStreetHousenumber.config.housenumberRequired') %}{{ "general.required"|trans|sw_sanitize }}{% endif %}"
  9.             var dmitsHousenumberPlaceholder="{{ "dmits.streethousenumber.custom.housenumberPlaceholder"|trans|striptags }}";
  10.             var dmitsHousenumberRequired="{% if config('DmitsStreetHousenumber.config.housenumberRequired') %}required='required'{% endif %}";
  11.             var dmitsStreetfullwidth="{{  config('DmitsStreetHousenumber.config.streetfullwidth') }}";
  12.             var zipcityfullwidth="{{  config('DmitsStreetHousenumber.config.zipcityfullwidth') }}";
  13.             </script>
  14.     {% endif %}
  15.     {{ parent() }}
  16. {% endblock %}