{{if $attaches}}
{{foreach $attaches as $a}} {{/foreach}}
{{/if}}