<% var requiresPatient = (typeof requiresPatient !== 'undefined') ? requiresPatient : false %>

<li <% if (requiresPatient) { %> data-requires-patient="true" <%}%>>
    <a id="<%- id %>" href="<%- url %>" data-icon="<%- icon %>"
    	<% if (typeof attributes !== 'undefined') { _.each(attributes, function(i) { %> <%- i.key %> = "<%- i.value %>" <% })}; %>
    class="<%- active %>">
    <% if (title === "Logout" && (typeof displayName === 'undefined' || displayName === null )) { %>
		Login
	<% } else { %>
		<%- title %>
	<% } %></a>
</li>

