{% trans_default_domain 'products' %}
{% if this.attachments %}
   <div {{ attributes }}>
      <p class="title-default">{{ this.title|default('download'|trans) }}</p>
      <table class="table-{{ this.style }}">
         {% for attachment in this.attachments %}
            <tr>
               <td>{{ attachment.title }}</td>
               <td>
                  <a href="{{ attachment.link }}" title="{{ attachment.title }}" target="_blank" download="{{ attachment.title }}">
                     <twig:ux:icon name="download" class="c-icon arrow-icon"/>
                     {{ 'download'|trans }} {% if attachment.size > 0 %}({{ this.attachmentSize(attachment) }}){% endif %}
                  </a>
               </td>
            </tr>
         {% endfor %}
      </table>
   </div>
{% endif %}
