{{if $attaches}} {{foreach $attaches as $a}} <a class="dropdown-item" href="{{$a.url}}" title="{{$a.title}}"><i class="fa {{$a.icon}} attach-icons"></i> {{$a.label}}</a> {{/foreach}} {{/if}}