<% this.collection.each(function(category) { %>
  • <%= category.get('title') || '' %>
  • <% }); %> <% if (!this.collection.length) { %>
  • —No categories yet—
  • <% } %> <% if (this.enableAddCategory) { %>
  • Create category
  • <% } %>