Code 1

Code 2

Code 3

<% if (!surveys.length) { %>
No testimonials at this moment
<% } %> <% _.each(surveys, function(survey, index) { %>
<%= survey.customer_data.contact_anon_name %>
<%= moment(survey.closed).format('MM/DD/YYYY') %>
<%= survey.comment %>
<% }); %>