<form name="lostpassword" action="{{ form_action }}" method="post">
<input type="hidden" name="type" value="send" />
<h2 class="section_name">{{ lang['lostpassword_title'] }}</h2>
<div class="box_content">
	<div class="page_form__form">
		<ul class="ui-form">
			{{ entries }}
			{% if flags.hasCaptcha %}
				<li class="form-group">
					<div class="c-captcha">
						<span><img src="{{ captcha_source_url }}?force=1" onclick="reload_captcha();" id="img_captcha" style="background: #fff; cursor: pointer;" alt="Security code" width="160" height="80" /></span>
						<input placeholder="{{ lang.theme.code }}" title="{{ lang.theme.code_info }}" type="text" name="vcode" required>
					</div>
				</li>
			{% endif %}
		</ul>
		<div class="form_submit">
			<button class="btn" type="submit">{{ lang['send_pass'] }}</button>
		</div>
	</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>