<% if (ctx.tokens.length > 0) { %>
<% _.each(ctx.tokens, function(token, index) { %>
Token:
<%= token.token %>
Note:
<%= token.note %>
Created:
<%= new Date(token.creationTime).toLocaleDateString() %>
<% if (token.expirationTime) { %>
Expires:
<%= new Date(token.expirationTime).toLocaleDateString() %>
<% } %>
<% }); %>
<% } else { %>

No Registered Tokens

<% } %>
Note:
Expiration: