<%
if (best_bets.length > 0)
{
	%>
	<ul class="js-suggestion-group nav flex-column mb-2">
		<li class="nav-item">
			<h5 class="nav-title">
				<%=lmsg('search.recommendation.best_bets') %>
			</h5>
		</li>
		<%
		_.each(best_bets, function(best_bet){
			%>
			<li class="nav-item">
				<a class="nav-link" href="<%=best_bet.best_bet_link%>">
					<p class="mb-0"><%-best_bet.best_bet_name%></p>
					<small class="text-muted d-block"><%-best_bet.best_bet_description%></small>
				</a>
			</li>
			<%
		});
		%>
	</ul>
	<%
}

if (suggestions.length > 0)
{
	%>
	<ul class="js-suggestion-group nav flex-column mb-2">
		<li class="nav-item">
			<h5 class="nav-title">
				<%=lmsg('search.suggestions_header') %>
			</h5>
		</li>
		<% _.each(suggestions, function(suggestion){ %>
			<li class="nav-item">
				<a class="nav-link" href="<%=suggestion.suggestion_link %>"><%-suggestion.suggestion %></a>
			</li>
			<% }); %>
		</p>
	</li>
</ul>
<%
}
%>
