% if (recent && recent.length > 0) { %>
Recent Searches
Clear all
<% _.each(recent, function(item) {
var safeText = _.escape(item.sugg);
var safeType = _.escape(item.type || '');
var iconMarker = getIconMarker(item.type);
var typeLabel = typeLabels[item.type] || '';
%>
<%= safeText %>
<% if (typeLabel) { %>
<%= typeLabel %><% } %>
×
<% }); %>
<% } else { %>
Type to search photos, videos,
music and more
<% } %>