templates/frontend/category/_leftSidebar.html.twig line 1

Open in your IDE?
  1. {% trans_default_domain 'store' %}
  2. <!-- START OF SIDEBAR MENU: FILTERS LIST ON DESKTOP -->
  3. <div class="column is-one-quarter is-hidden-touch">
  4.     <div class="columns">
  5.         <div class="column" v-cloak>
  6.         <div style="display: none">
  7.             {{ form_row(form.query) }}
  8.         </div>
  9.             {% set isFilters = 1 %}
  10.             {% if disabledFilters is defined and disabledFilters == 1 %}
  11.                 {% set isFilters = 0 %}
  12.             {% endif %}
  13.             <!-- START OF ACCORDION -->
  14.             <sb-accordion inline-template v-cloak active="1">
  15.                 <section class="sidebar-accordion" style="margin-top:12px;">
  16.                     {% if isFilters %}
  17.                         <!-- START OF ACCORDION -->
  18.                         <sb-accordion inline-template v-cloak active="1">
  19.                             <section class="sidebar-accordion">
  20.                                 <!-- START OF ACCORDION TITLE -->
  21.                                 <div class="level" @click="toggleAccordion">
  22.                                     <div class="level-left">
  23.                                         <div class="level-item">
  24.                                             <span class="has-text-weight-bold is-16px">
  25.                                                 {{ 'sendTime'|trans }}
  26.                                             </span>
  27.                                         </div>
  28.                                     </div>
  29.                                     <div class="level-right">
  30.                                     </div>
  31.                                 </div>
  32.                                 <!-- END OF ACCORDION TITLE -->
  33.                             </section>
  34.                         </sb-accordion>
  35.                         <!-- END OF ACCORDION -->
  36.                         <!-- START OF ACCORDION CONTENT -->
  37.                         <nav v-if="unfold">
  38.                             <div class="divider"></div>
  39.                             <div>
  40.                             {{ form_widget(form.availability) }}
  41.                             </div>
  42.                             <div style="clear: both"></div>
  43.                         </nav>
  44.                         <!-- END OF ACCORDION CONTENT -->
  45.                     {% endif %}
  46.                     <hr class="hr">
  47.                     <!-- START OF ACCORDION TITLE -->
  48.                     <div class="level" @click="toggleAccordion" style="margin-top:20px;">
  49.                         <div class="level-left">
  50.                             <div class="level-item">
  51.                                 <span class="has-text-weight-bold is-16px">
  52.                                     {{ 'rooms'|trans }}
  53.                                 </span>
  54.                             </div>
  55.                         </div>
  56.                         <div class="level-right">
  57.                             <span class="icon">
  58.                                 <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  59.                             </span>
  60.                         </div>
  61.                     </div>
  62.                     <nav v-if="unfold">
  63.                         {% set catCounter = 0 %}
  64.                         {% for category in categories %}
  65.                             {% set catCounter = catCounter + 1 %}
  66.                             <sb-accordion-group {% if category.id == app.request.attributes.get('id') or (app.request.attributes.get('id') in category.getChildrenIds) %}activesub="1" {% else %}activesub="0"{% endif %} catid="{{ category.id }}" {% if catCounter > 3 %}v-if="showMore"{% endif %} inline-template v-cloak>
  67.                                 <div>
  68.                                     <div class="level" @click="toggleSubcategories">
  69.                                         <div class="level-left">
  70.                                             <div class="level-item">
  71.                                                 <span class="has-text-weight-semibold make-it-block" style="font-size:0.9rem;">
  72.                                                     <a {% if category.id == app.request.attributes.get('id') %}class="active" {% endif %} href="{{ path('category', {'id':category.id, 'slug':category.slug, 'av24h':app.request.attributes.get('av24h')}) }}">
  73.                                                         {{ category.name }}
  74.                                                     </a>
  75.                                                 </span>
  76.                                             </div>
  77.                                         </div>
  78.                                         <div class="level-right">
  79.                                             <span class="icon">
  80.                                                 <i :class="[ 'fas', showSubcategories ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  81.                                             </span>
  82.                                         </div>
  83.                                     </div>
  84.                                     <ul v-if="showSubcategories">
  85.                                         {% for child in category.childrens %}
  86.                                             {% set visibleCat = 1 %}
  87.                                             {% set nbProd = child.langParams[0].nbProducts %}
  88.                                             {% for langParam in child.langParams %}
  89.                                                 {% if langParam.language.getLocaleShort == app.request.locale %}
  90.                                                     {% set visibleCat = langParam.visible %}
  91.                                                     {% if langParam.nbProducts and langParam.nbProducts is not null %}
  92.                                                         {% set nbProd = langParam.nbProducts %}
  93.                                                     {% endif %}
  94.                                                 {% endif %}
  95.                                             {% endfor %}
  96.                                             {% if visibleCat %}
  97.                                                 <li><a {% if child.id == app.request.attributes.get('id') %}class="active" active="1" {% else %}active="0"{% endif %}href="{{ path('category', {'id':child.id, 'slug':child.slug, 'av24h':app.request.attributes.get('av24h')}) }}">{{ child.name }}</a>
  98.                                                     <span class="has-text-grey-light">({{ nbProd }})</span>
  99.                                                 </li>
  100.                                             {% endif %}
  101.                                         {% endfor %}
  102.                                     </ul>
  103.                                 </div>
  104.                             </sb-accordion-group>
  105.                         {% endfor %}
  106.                         <span class="wiecej-pomieszczen has-text-weight-semibold"
  107.                               @click="toggleMore"
  108.                               v-if="showMore == false">
  109.                             {{ 'moreRooms'|trans }}...
  110.                         </span>
  111.                         <span class="wiecej-pomieszczen has-text-weight-semibold"
  112.                               @click="toggleMore"
  113.                               v-else>
  114.                             {{ 'lessRooms'|trans }}...
  115.                         </span>
  116.                     </nav>
  117.                     <!-- END OF ACCORDION CONTENT -->
  118.                 </section>
  119.             </sb-accordion>
  120.             <!-- END OF ACCORDION -->
  121.             <hr class="hr">
  122.             <!-- START OF ACCORDION -->
  123.             <sb-accordion inline-template v-cloak active="1">
  124.                 <section class="sidebar-accordion">
  125.                     <!-- START OF ACCORDION TITLE -->
  126.                     <div class="level" @click="toggleAccordion">
  127.                         <div class="level-left">
  128.                             <div class="level-item">
  129.                                 <span class="has-text-weight-bold is-16px">
  130.                                     {{ 'furnituteTypes'|trans }}
  131.                                 </span>
  132.                             </div>
  133.                         </div>
  134.                         <div class="level-right">
  135.                             <span class="icon">
  136.                                 <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  137.                             </span>
  138.                         </div>
  139.                     </div>
  140.                     <!-- END OF ACCORDION TITLE -->
  141.                     <!-- START OF ACCORDION CONTENT -->
  142.                     <nav v-if="unfold">
  143.                         <ul>
  144.                             {% for furnitureType in furnitureTypes|slice(0,5) %}
  145.                                 <li>
  146.                                     <a {% if app.request.attributes.get('furnitureTypeId') == furnitureType.id %} class="active" {% endif %} href="{{ path('furnitureType', {'furnitureTypeId':furnitureType.id, 'customFilter':app.request.attributes.get('customFilter'), 'slug':furnitureType.slug}) }}">
  147.                                         {{ furnitureType.name }}
  148.                                     </a>
  149.                                     <span class="has-text-grey-light">({{ furnitureType.langParams[0].nbProducts }})</span>
  150.                                 </li>
  151.                             {% endfor %}
  152.                             <div v-if="showMore">
  153.                                 {% for furnitureType in furnitureTypes|slice(5,100) %}
  154.                                     <li>
  155.                                         <a {% if app.request.attributes.get('furnitureTypeId') == furnitureType.id %} class="active" {% endif %} href="{{ path('furnitureType', {'furnitureTypeId':furnitureType.id, 'customFilter':app.request.attributes.get('customFilter'), 'slug':furnitureType.slug}) }}">
  156.                                             {{ furnitureType.name }}
  157.                                         </a>
  158.                                         <span class="has-text-grey-light">({{ furnitureType.langParams[0].nbProducts }})</span>
  159.                                     </li>
  160.                                 {% endfor %}
  161.                             </div>
  162.                         </ul>
  163.                         <span class="has-text-weight-semibold more-furniture-types"
  164.                               @click="toggleMore"
  165.                               v-if="showMore == false">
  166.                             {{ 'moreFurnitureTypes'|trans }}...
  167.                         </span>
  168.                         <span class="has-text-weight-semibold"
  169.                               @click="toggleMore"
  170.                               v-else>
  171.                             {{ 'lessFurnitureTypes'|trans }}...
  172.                         </span>
  173.                     </nav>
  174.                     <!-- END OF ACCORDION CONTENT -->
  175.                 </section>
  176.             </sb-accordion>
  177.             <!-- END OF ACCORDION -->
  178.             {% if isFilters %}
  179.                 <hr class="hr">
  180.                 <!-- START OF ACCORDION -->
  181.                 <sb-accordion inline-template v-cloak active="1">
  182.                     <section class="sidebar-accordion">
  183.                         <!-- START OF ACCORDION TITLE -->
  184.                         <div class="level" @click="toggleAccordion">
  185.                             <div class="level-left">
  186.                                 <div class="level-item">
  187.                                     <span class="has-text-weight-bold is-16px">
  188.                                         {{ 'priceFilter'|trans }}
  189.                                     </span>
  190.                                 </div>
  191.                             </div>
  192.                             <div class="level-right">
  193.                                 <span class="icon">
  194.                                     <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  195.                                 </span>
  196.                             </div>
  197.                         </div>
  198.                         <!-- END OF ACCORDION TITLE -->
  199.                         <!-- START OF ACCORDION CONTENT -->
  200.                         <nav v-if="unfold">
  201.                             <div class="field is-horizontal  zakres-cen">
  202.                                 <div class="field-body price-left">
  203.                                     {{ form_widget(form.priceFrom) }}
  204.                                 </div>
  205.                                 <div class="kreska">&mdash;</div>
  206.                                 <div class="field-body price-right">
  207.                                     {{ form_widget(form.priceTo) }}
  208.                                 </div>
  209.                             </div>
  210.                         </nav>
  211.                         <!-- END OF ACCORDION CONTENT -->
  212.                     </section>
  213.                 </sb-accordion>
  214.                 <!-- END OF ACCORDION -->
  215.                 <hr class="hr">
  216.                 <!-- START OF ACCORDION -->
  217.                 <sb-accordion inline-template v-cloak active="1">
  218.                     <section class="sidebar-accordion">
  219.                         <!-- START OF ACCORDION TITLE -->
  220.                         <div class="level" @click="toggleAccordion">
  221.                             <div class="level-left">
  222.                                 <div class="level-item">
  223.                                     <span class="has-text-weight-bold is-16px">
  224.                                         {{ 'producer'|trans }}
  225.                                     </span>
  226.                                 </div>
  227.                             </div>
  228.                             <div class="level-right">
  229.                                 <span class="icon">
  230.                                     <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  231.                                 </span>
  232.                             </div>
  233.                         </div>
  234.                         <!-- END OF ACCORDION TITLE -->
  235.                         <!-- START OF ACCORDION CONTENT -->
  236.                         <nav v-if="unfold">
  237.                             <div class="field is-horizontal producer-select" style="margin-top:20px;">
  238.                                 {{ form_widget(form.productProducer) }}
  239.                             </div>
  240.                         </nav>
  241.                         <!-- END OF ACCORDION CONTENT -->
  242.                     </section>
  243.                 </sb-accordion>
  244.                 <!-- END OF ACCORDION -->
  245.                 <hr class="hr">
  246.                 <!-- START OF ACCORDION -->
  247.                 <sb-accordion inline-template v-cloak active="1">
  248.                     <section class="sidebar-accordion">
  249.                         <!-- START OF ACCORDION TITLE -->
  250.                         <div class="level" @click="toggleAccordion">
  251.                             <div class="level-left">
  252.                                 <div class="level-item">
  253.                                     <span class="has-text-weight-bold is-16px">
  254.                                         {{ 'colors_available'|trans }}
  255.                                     </span>
  256.                                 </div>
  257.                             </div>
  258.                             <div class="level-right">
  259.                                 <span class="icon">
  260.                                     <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  261.                                 </span>
  262.                             </div>
  263.                         </div>
  264.                         <!-- END OF ACCORDION TITLE -->
  265.                         <!-- START OF ACCORDION CONTENT -->
  266.                         <nav v-if="unfold">
  267.                             <div class="field is-horizontal color-select" style="margin-top:20px;">
  268.                                 {{ form_widget(form.color) }}
  269.                             </div>
  270.                         </nav>
  271.                         <!-- END OF ACCORDION CONTENT -->
  272.                     </section>
  273.                 </sb-accordion>
  274.                 <!-- END OF ACCORDION -->
  275.                 <hr class="hr">
  276.                 <!-- START OF ACCORDION -->
  277.                 <sb-accordion class="ergonomyElement" inline-template v-cloak {% if searchData.ergonomy is defined and searchData.ergonomy|length %}active="1"{% endif %}>
  278.                     <section class="sidebar-accordion">
  279.                         <!-- START OF ACCORDION TITLE -->
  280.                         <div class="level" @click="toggleAccordion">
  281.                             <div class="level-left">
  282.                                 <div class="level-item">
  283.                                     <span class="has-text-weight-bold is-16px ergonomy-title-label">
  284.                                         {{ 'ergonomy'|trans }}
  285.                                     </span>
  286.                                 </div>
  287.                             </div>
  288.                             <div class="level-right">
  289.                                 <span class="icon">
  290.                                     <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  291.                                 </span>
  292.                             </div>
  293.                         </div>
  294.                         <!-- END OF ACCORDION TITLE -->
  295.                         <!-- START OF ACCORDION CONTENT -->
  296.                         <nav v-if="unfold">
  297.                             <div class="divider"></div>
  298.                             {{ form_widget(form.ergonomy) }}
  299.                         </nav>
  300.                         <!-- END OF ACCORDION CONTENT -->
  301.                     </section>
  302.                 </sb-accordion>
  303.                 <!-- END OF ACCORDION -->
  304.                 <hr class="hr ergonomyElement">
  305.                 <!-- START OF ACCORDION -->
  306.                 <sb-accordion class="functionsElement" inline-template v-cloak {% if searchData.functions is defined and searchData.functions|length %}active="1"{% endif %}>
  307.                     <section class="sidebar-accordion">
  308.                         <!-- START OF ACCORDION TITLE -->
  309.                         <div class="level" @click="toggleAccordion">
  310.                             <div class="level-left">
  311.                                 <div class="level-item">
  312.                                     <span class="has-text-weight-bold is-16px">
  313.                                         {{ 'functions'|trans }}
  314.                                     </span>
  315.                                 </div>
  316.                             </div>
  317.                             <div class="level-right">
  318.                                     <span class="icon">
  319.                                         <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  320.                                     </span>
  321.                             </div>
  322.                         </div>
  323.                         <!-- END OF ACCORDION TITLE -->
  324.                         <!-- START OF ACCORDION CONTENT -->
  325.                         <nav v-if="unfold">
  326.                             <div class="divider"></div>
  327.                             {{ form_widget(form.functions) }}
  328.                         </nav>
  329.                         <!-- END OF ACCORDION CONTENT -->
  330.                     </section>
  331.                 </sb-accordion>
  332.                 <!-- END OF ACCORDION -->
  333.                 <hr class="hr functionsElement">
  334.                 <!-- START OF ACCORDION -->
  335.                 <sb-accordion class="executionElement" inline-template v-cloak {% if searchData.execution is defined and searchData.execution|length %}active="1"{% endif %}>
  336.                     <section class="sidebar-accordion">
  337.                         <!-- START OF ACCORDION TITLE -->
  338.                         <div class="level" @click="toggleAccordion">
  339.                             <div class="level-left">
  340.                                 <div class="level-item">
  341.                                     <span class="has-text-weight-bold is-16px">
  342.                                         {{ 'execution'|trans }}
  343.                                     </span>
  344.                                 </div>
  345.                             </div>
  346.                             <div class="level-right">
  347.                                 <span class="icon">
  348.                                     <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  349.                                 </span>
  350.                             </div>
  351.                         </div>
  352.                         <!-- END OF ACCORDION TITLE -->
  353.                         <!-- START OF ACCORDION CONTENT -->
  354.                         <nav v-if="unfold">
  355.                             <div class="divider"></div>
  356.                             {{ form_widget(form.execution) }}
  357.                         </nav>
  358.                         <!-- END OF ACCORDION CONTENT -->
  359.                     </section>
  360.                 </sb-accordion>
  361.                 <!-- END OF ACCORDION -->
  362.                 <hr class="hr executionElement">
  363.                 <!-- START OF ACCORDION -->
  364.                 <sb-accordion inline-template v-cloak active="1">
  365.                     <section class="sidebar-accordion">
  366.                         <nav>
  367.                             <div class="divider"></div>
  368.                             <div class="field is-horizontal">
  369.                                 <button id="submitButton" type="submit" style="background:#ef1b2b" class="button is-link is-large is-fullwidth">{{ 'search'|trans }}</button>
  370.                             </div>
  371.                         </nav>
  372.                     </section>
  373.                 </sb-accordion>
  374.                 <!-- END OF ACCORDION -->
  375.             {% endif %}
  376.         </div>
  377.     </div>
  378. </div>
  379. <!-- END OF SIDEBAR MENU: FILTERS LIST ON DESKTOP -->
  380. <!-- START OF PRODUCT LIST -->
  381. <div class="column is-three-quarters-desktop is-full-tablet  has-side-padding">
  382.     <!-- START OF PRODUCT LIST CONTROLS -->
  383.     <nav class="level is-mobile add-bottom">
  384.         <!-- START OF LEFT SIDE OF CONTROLS -->
  385.         <div class="level-left">
  386.             <!-- FEATURE not for now -->
  387.             <!-- <span class="icon">
  388.                 <i class="fas fa-bars"></i>
  389.             </span> -->
  390.             <div class="level-item">
  391.                 <div class="field is-horizontal">
  392.                     <div class="field-label has-text-weight-bold is-16px">
  393.                         <label for="sort" class="label sortujj">{{ 'sorting'|trans }}</label>
  394.                     </div>
  395.                     <div class="field-body">
  396.                         <div class="field">
  397.                             <span class="select">
  398.                                 {{ form_widget(form.sorting, {'attr':{'id':'sort'}}) }}
  399.                             </span>
  400.                         </div>
  401.                     </div>
  402.                     <div class="field-label has-text-weight-bold is-16px">
  403.                     </div>
  404.                     <div class="field-body">
  405.                         <div class="field">
  406.                             <span class="select">
  407.                                 <select class="productsPerPage">
  408.                                     <option value="15" {% if productsPerPage is defined and productsPerPage == 15 %} selected="selected" {% endif %}>15 {{ 'products_on_page'|trans }}</option>
  409.                                     <option value="30" {% if productsPerPage is defined and productsPerPage == 30 %} selected="selected" {% endif %}>30 {{ 'products_on_page'|trans }}</option>
  410.                                     <option value="45" {% if productsPerPage is defined and productsPerPage == 45 %} selected="selected" {% endif %}>45 {{ 'products_on_page'|trans }}</option>
  411.                                 </select>
  412.                             </span>
  413.                         </div>
  414.                     </div>
  415.                 </div>
  416.             </div>
  417.         </div>
  418.         <!-- END OF LEFT SIDE OF CONTROLS -->
  419.         <!-- START OF CENTER OF CONTROLS -->
  420.         <!-- END OF CENTER OF CONTROLS -->
  421.         <!-- START OF RIGHT SIDE OF CONTROLS -->
  422.         <div class="level-right">
  423.             <div class="level-item">
  424.                 {{ knp_pagination_render(products) }}
  425.             </div>
  426.         </div>
  427.         <!-- END OF RIGHT SIDE OF CONTROLS -->
  428.     </nav>
  429.     <!-- END OF PRODUCT LIST CONTROLS -->
  430.     {% if isFilters %}
  431.     <!-- START OF FILTERS LIST ON MOBILE DEVICES  -->
  432.     <filters-list inline-template v-cloak>
  433.         <div class="is-hidden-desktop">
  434.             <nav class="level is-mobile" @click="toggleFiltersList" style="margin-bottom: 20px;">
  435.                 <div class="level-item" style="padding:15px; border: 1px solid #d4d8e1; font-weight: 600;">
  436.                     {{ 'filterResults'|trans }}
  437.                     <span class="icon">
  438.                         <i :class="[ 'fas', unfold ? 'fa-caret-up' : 'fa-caret-down' ]"></i>
  439.                     </span>
  440.                 </div>
  441.             </nav>
  442.             <div class="columns" v-if="unfold">
  443.                 <ul class="column is-one-third-tablet">
  444.                     <span class="has-text-weight-bold is-16px">
  445.                         {{ 'rooms'|trans }}
  446.                     </span>
  447.                     <div style="margin-left:22px; margin-top:5px;">
  448.                         {% set catCounter = 0 %}
  449.                         {% for category in categories %}
  450.                             {% set catCounter = catCounter + 1 %}
  451.                                 <div class="has-text-weight-semibold">
  452.                                     <a {% if category.id == app.request.attributes.get('id') %}class="active" {% endif %} href="{{ path('category', {'av24h':app.request.attributes.get('av24h'), 'id':category.id, 'slug':category.slug}) }}">
  453.                                         {{ category.name }}
  454.                                     </a>
  455.                                 </div>
  456.                             {% if category.id == app.request.attributes.get('id') %}
  457.                                 <ul style="margin-left:20px;">
  458.                                     {% for child in category.childrens %}
  459.                                         <li><a {% if child.id == app.request.attributes.get('id') %}class="active" active="1" {% else %}active="0"{% endif %}href="{{ path('category', {'av24h':app.request.attributes.get('av24h'), 'id':child.id, 'slug':child.slug}) }}">{{ child.name }}</a>
  460.                                             <span class="has-text-grey-light">({{ child.langParams[0].nbProducts }})</span>
  461.                                         </li>
  462.                                     {% endfor %}
  463.                                 </ul>
  464.                             {% endif %}
  465.                         {% endfor %}
  466.                     </div>
  467.                     <div class="divider"></div>
  468.                     <span class="has-text-weight-bold is-16px">
  469.                         {{ 'furnituteTypes'|trans }}
  470.                     </span>
  471.                     <div style="margin-left:22px; margin-top:5px;">
  472.                         {% for furnitureType in furnitureTypes %}
  473.                             <div class="has-text-weight-semibold">
  474.                                 <a {% if app.request.attributes.get('furnitureTypeId') == furnitureType.id %} class="active" {% endif %} href="{{ path('furnitureType', {'customFilter':app.request.attributes.get('customFilter'), 'furnitureTypeId':furnitureType.id, 'slug':furnitureType.slug}) }}">
  475.                                     {{ furnitureType.name }}
  476.                                 </a>
  477.                             </div>
  478.                         {% endfor %}
  479.                     </div>
  480.                 {#
  481.                 <div class="column is-one-third-tablet">
  482.                         <span class="has-text-weight-bold is-16px">
  483.                             Kolory obszycia
  484.                         </span>
  485.                     <label class="checkbox">
  486.                         <input type="checkbox">
  487.                         Czerwony<span class="has-text-grey-light">(20)</span>
  488.                     </label>
  489.                     <label class="checkbox">
  490.                         <input type="checkbox">
  491.                         Pomarańczowy<span class="has-text-grey-light">(20)</span>
  492.                     </label>
  493.                     <label class="checkbox">
  494.                         <input type="checkbox">
  495.                         Żółty / Złoty<span class="has-text-grey-light">(20)</span>
  496.                     </label>
  497.                     <label class="checkbox">
  498.                         <input type="checkbox">
  499.                         Zielony<span class="has-text-grey-light">(20)</span>
  500.                     </label>
  501.                     <label class="checkbox">
  502.                         <input type="checkbox">
  503.                         Turkusowy<span class="has-text-grey-light">(20)</span>
  504.                     </label>
  505.                     <label class="checkbox">
  506.                         <input type="checkbox">
  507.                         Niebieski<span class="has-text-grey-light">(20)</span>
  508.                     </label>
  509.                     <label class="checkbox">
  510.                         <input type="checkbox">
  511.                         Fioletowy<span class="has-text-grey-light">(20)</span>
  512.                     </label>
  513.                     <label class="checkbox">
  514.                         <input type="checkbox">
  515.                         Różowy<span class="has-text-grey-light">(20)</span>
  516.                     </label>
  517.                     <label class="checkbox">
  518.                         <input type="checkbox">
  519.                         Biały<span class="has-text-grey-light">(20)</span>
  520.                     </label>
  521.                     <label class="checkbox">
  522.                         <input type="checkbox">
  523.                         Szary<span class="has-text-grey-light">(20)</span>
  524.                     </label>
  525.                     <label class="checkbox">
  526.                         <input type="checkbox">
  527.                         Brązowy<span class="has-text-grey-light">(20)</span>
  528.                     </label>
  529.                     <label class="checkbox">
  530.                         <input type="checkbox">
  531.                         Czarny<span class="has-text-grey-light">(20)</span>
  532.                     </label>
  533.                 </div>
  534.                 #}
  535.                 <div class="divider2"></div>
  536.                     <div class="column">
  537.                         <span class="has-text-weight-bold is-16px">
  538.                             {{ 'sendTime'|trans }}
  539.                         </span>
  540.                         <div class="field is-horizontal">
  541.                             <div class="field-body price-left" style="margin-left:15px;">
  542.                                 {{ form_widget(form.availabilityMobile) }}
  543.                             </div>
  544.                         </div>
  545.                         <div class="divider"></div>
  546.                         <span class="has-text-weight-bold is-16px">
  547.                             {{ 'priceFilter'|trans }}
  548.                         </span>
  549.                             <div class="divider"></div>
  550.                         <div class="field is-horizontal" style="margin-left:15px;">
  551.                             <div class="field-body price-left">
  552.                                 {{ form_widget(form.priceFromMobile) }}
  553.                             </div>
  554.                             <div style="text-align: center">
  555.                                 &mdash;
  556.                             </div>
  557.                             <div class="field-body price-left">
  558.                                 {{ form_widget(form.priceToMobile) }}
  559.                             </div>
  560.                         </div>
  561.                         <div class="divider"></div>
  562.                         <span class="has-text-weight-bold is-16px">
  563.                             {{ 'producer'|trans }}
  564.                         </span>
  565.                         <div class="divider"></div>
  566.                         <div class="field is-horizontal" style="margin-left:15px;">
  567.                             <div class="field-body price-left">
  568.                                 {{ form_widget(form.productProducerMobile) }}
  569.                             </div>
  570.                         </div>
  571.                         <div class="divider"></div>
  572.                         <span class="has-text-weight-bold is-16px">
  573.                             {{ 'colors_available'|trans }}
  574.                         </span>
  575.                         <div class="divider"></div>
  576.                         <div class="field is-horizontal" style="margin-left:15px;">
  577.                             <div class="field-body price-left">
  578.                                 {{ form_widget(form.colorMobile) }}
  579.                             </div>
  580.                         </div>
  581.                     </div>
  582.                 <div class="column is-one-third-tablet">
  583.                     <span class="has-text-weight-bold is-16px">
  584.                         {{ 'ergonomy'|trans }}
  585.                     </span>
  586.                     <div style="margin-left:15px; margin-top:5px;">
  587.                         {{ form_widget(form.ergonomyMobile) }}
  588.                     </div>
  589.                 </div>
  590.                 <div class="column is-one-third-tablet">
  591.                     <span class="has-text-weight-bold is-16px">
  592.                         {{ 'functions'|trans }}
  593.                     </span>
  594.                     <div style="margin-left:15px; margin-top:5px;">
  595.                         {{ form_widget(form.functionsMobile) }}
  596.                     </div>
  597.                 </div>
  598.                 <div class="column is-one-third-tablet">
  599.                 <span class="has-text-weight-bold is-16px">
  600.                     {{ 'execution'|trans }}
  601.                 </span>
  602.                     <div style="margin-left:15px; margin-top:5px;">
  603.                         {{ form_widget(form.executionMobile) }}
  604.                     </div>
  605.                 </div>
  606.                 <button id="submitButtonMobile" style="background:#ef1b2b" type="submit" class="button is-link is-large is-fullwidth">{{ 'search'|trans }}</button>
  607.             </div>
  608.         </div>
  609.     </filters-list>
  610.     <!-- END OF FILTERS LIST ON MOBILE DEVICES  -->
  611.     {% else %}
  612.         {% do form.availability.setRendered %}
  613.         {% do form.availabilityMobile.setRendered %}
  614.         {% do form.functions.setRendered %}
  615.         {% do form.functionsMobile.setRendered %}
  616.         {% do form.ergonomy.setRendered %}
  617.         {% do form.ergonomyMobile.setRendered %}
  618.         {% do form.execution.setRendered %}
  619.         {% do form.executionMobile.setRendered %}
  620.         {% do form.priceToMobile.setRendered %}
  621.         {% do form.priceTo.setRendered %}
  622.         {% do form.priceFromMobile.setRendered %}
  623.         {% do form.priceFrom.setRendered %}
  624.         {% do form.productProducer.setRendered %}
  625.         {% do form.productProducerMobile.setRendered %}
  626.         {% do form.color.setRendered %}
  627.         {% do form.colorMobile.setRendered %}
  628.     {% endif %}