<div class="post">
	<form name="lostpassword" action="{{ form_action }}" method="post" class="newtopic">
		<input type="hidden" name="type" value="send" />
		<div class="postinfotop">
			<h2>{{ lang['lostpassword'] }}</h2>
		</div>
		<div class="accsection">
			<div class="topwrap">
				<div class="card">
					{{ entries }}
					{% if flags.hasCaptcha %}
						<div>
							<label>{{ lang['captcha'] }}</label>
							<div><span><img src="{{ captcha_source_url }}?force=1" onclick="reload_captcha();" id="img_captcha" alt="{{ lang['captcha'] }}" style="background: #fff; cursor: pointer;" alt="Security code" width="120" height="40" /></span></div>
							<div><input type="text" name="vcode" style="width:120px" /></div>
							<div class="label-desc">{{ lang.captcha_desc }}</div>
						</div>
					{% endif %}
					<div class="postinfobot">
						<div class="pull-right postreply">
							<div class="pull-left">
								<button class="btn btn-primary" type="submit">{{ lang['send_pass'] }}</button>
							</div>
							<div class="clearfix"></div>
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</form>
</div>
<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>