<% var that = this; %> <% if (that.collection && that.collection.length > 0) { %> <% that.collection.each(function(m) { %>
  • <%= that.renderHelper.generateMarkup(m.get('brief')) %>

    <% if (m.has('details')) { %>

    <%= that.renderHelper.generateMarkup(m.get('details')) %>

    <% } %>
  • <% }); %> <% } else { %>
  • Поиск не дал результатов.
  • <% } %>