${ util.include('header', [title:'Password reset']) }
<% if (result.error) { %>

Password reset failure.

Error: ${result?.error}

<% } else if (!result.errors && result.jid) { %>

Check your email

Email was sent to ${result.email}. Click the link in the email to reset password for account ${result.jid}.
If you don't see the email, check other mail folders, like junk and spam.
<% } else { %>

Reset account password

Please fill out this form to reset password for an account.
XMPP account address
Email used during registration
<% if (result.captcha) { %>
<% } %>
<% if (result.errors) { %> <% } %>
<% } %>
${ util.include('footer') }