root/user/forgot_details.tt
[%- meta.title = 'Forgot Login Details' -%]
<script type="text/javascript" src="http://www.google.com/recaptcha/api.js?onload=showRecaptcha&render=explicit" async defer></script>
<script type="text/javascript">
var showRecaptcha = function() {
grecaptcha.render(
"recaptcha",
{ "sitekey": "[% recaptcha_public_key %]" }
);
}
</script>
<h2>
[% meta.title %]
</h2>
<p>
Please enter your username or your email address, and we'll send you
an email which will allow you to reset your password.
</p>
<form id="forgot_details" method="post" action="[% c.uri_for( 'details-sent' ) %]">
<p>
<label for="username">Username</label>
<br><input class="textshort" type="text" id="username" name="username" size="50">
</p>
<p>
<label for="email">Email address</label>
<br><input class="textshort" type="text" id="email" name="email" size="100">
</p>
<p>
<div id="recaptcha"></div>
</p>
<p>
<input type="submit" value="Email me!">
</p>
</form>