<% if (attachment.loading) { %> <% } else { %> <% } %> <%- attachment.label ? attachment.label : attachment.name %>