<% _.each(polaroids, function(polaroid){ %>
  • "> <% if( 3 * polaroid.get("cover_photo")["width"] > 4 *polaroid.get("cover_photo")["height"] ) { %> " style="max-height:210px" data-polaroid="<%= polaroid.get("id")%>"> <% } else { %> " style="max-width:280px" data-polaroid="<%= polaroid.get("id")%>"> <% } %>
  • <% }); %>