<form name="lostpassword" action="{{ form_action }}" method="post">
<input type="hidden" name="type" value="send" />
<div class="form-wrap">
	<h1>{{ lang['lostpassword_title'] }}</h1>
	{{ entries }}
	{% if flags.hasCaptcha %}
	<div class="form-item clearfix imp">
		<label>{{ lang.theme.captcha_title }}</label>
		<div class="form-secur">
            <input type="text" name="vcode" placeholder="{{ lang.theme.captcha_text }}" maxlength="45" required /><img src="{{ captcha_source_url }}?force=1" onclick="reload_captcha();" id="img_captcha" style="background: #fff; width: 120px; height: 35px; cursor: pointer;" alt="Security code" />
		</div>
	</div>
	{% endif %}
	<div class="form-submit">
		<button type="submit">{{ lang['send_pass'] }}</button>
	</div>
</div>
</form>
<script type="text/javascript">
	function reload_captcha() {
		var captcha = document.getElementById('img_captcha');
		if (captcha) {
			captcha.src = "{{ captcha_source_url }}?force=1&t=" + Date.now();
		}
	}
</script>