<% if(card != null){ %> <%-card.attributes.name%>
<% }else{ %> No cards available. <%}%>