vendor/shopware/storefront/Resources/views/storefront/component/listing/filter/filter-boolean.html.twig line 1

Open in your IDE?
  1. {% block component_filter_boolean %}
  2.     {% set filterBooleanOptions = {
  3.         name: name,
  4.         displayName: displayName,
  5.         snippets: {
  6.             disabledFilterText: 'listing.disabledFilterTooltip'|trans|sw_sanitize
  7.         }
  8.     } %}
  9.     {% block component_filter_boolean_panel_item %}
  10.         <div class="filter-boolean filter-panel-item"
  11.              data-filter-boolean="true"
  12.              data-filter-boolean-options='{{ filterBooleanOptions|json_encode }}'>
  13.             {% block component_filter_boolean_container %}
  14.                 <div class="custom-control custom-checkbox">
  15.                     {% block component_filter_boolean_checkbox %}
  16.                         <input type="checkbox"
  17.                                class="filter-boolean-input custom-control-input"
  18.                                id="{{ name }}"
  19.                                name="{{ name }}">
  20.                     {% endblock %}
  21.                     {% block component_filter_boolean_label %}
  22.                         <label for="{{ name }}" class="filter-boolean-label custom-control-label">
  23.                             {% block component_filter_boolean_display_name %}
  24.                                 {{ displayName }}
  25.                             {% endblock %}
  26.                         </label>
  27.                     {% endblock %}
  28.                 </div>
  29.             {% endblock %}
  30.         </div>
  31.     {% endblock %}
  32. {% endblock %}