templates/front/partnersList.html.twig line 1

Open in your IDE?
  1. {% for key, partner in partners %}
  2.     <div class="max-15">
  3.         {% if partner.link %}
  4.         <a href="{{ partner.link ?? "#" }}" target="_blank">
  5.             {% else %}
  6.             <span>
  7.         {% endif %}
  8.                 {#            <img class="grayscale mahe-59 mawi-150" src="{{ asset(vich_uploader_asset(partner, 'partnerFile')) | imagine_filter('small') }}" alt="{{ partner.name }}"/> #}
  9.             <img class="grayscale mahe-59 mawi-150" src="{{ asset(vich_uploader_asset(partner, 'partnerFile')) }}"
  10.                  alt="{{ partner.name }}"/>
  11.         {% if partner.link %}
  12.         </a>
  13.     {% else %}
  14.         </span>
  15.         {% endif %}
  16.     </div>
  17. {% endfor %}