Photos /
<% if (photos.length==0) { %>
No photos
<% } else {%> <% _.each(photos, function(photo){ %>
<%= photo.image.name %>
Download
<% }); } %>