{% trans_default_domain 'producers' %}

<div {{ attributes }}>
   {% for producer in this.producers %}
      {% if producer.thumbnail|default(false) %}
         <div class="producer-item{% if this.darkMode %} dark-mode{% endif %}" data-blocek-col>
            <a href="{{ producer.url }}" title="{{ producer.name }}">
               <twig:Picture class="img-responsive" thumbnail="{{ producer.thumbnail }}" type="producer"></twig:Picture>
            </a>
         </div>
      {% endif %}
   {% endfor %}
   {% if this.showMoreLink %}
      <a href="{{ path('kupshop_catalog_producer_list') }}" class="show-more">{{ 'allProducersLink'|trans }}</a>
   {% endif %}
</div>
