<% if (ctx.tokens.length > 0) { %>
<% _.each(ctx.tokens, function(token, index) { %>
Token:
Note:
Created:
Expires:
<%= token.token %>
<%= token.note %>
<%= ctx.makeRelativeTime(token.creationTime) %>
<% if (token.expirationTime) { %>
<%= ctx.makeRelativeTime(token.expirationTime) %>
<% } else { %>
No expiration
<% } %>
<% if (token.isCurrentAuthToken) { %> <% } else { %> <% } %>

<% }); %>
<% } else { %>

No Registered Tokens

<% } %>