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