{{define "captcha"}}
	{{/* unset if user doesn't need captcha */}}
	{{if ne .CaptchaID ""}}
	<div class="form-group captcha-container" style="width: 240px;margin: auto;">
		<h3>{{call $.T "captcha"}}</h3>
		<input type="text" name="captchaID" value="{{.CaptchaID}}" hidden>
		<img src="/captcha/{{.CaptchaID}}.png"><br>
		<audio src="/captcha/{{.CaptchaID}}.wav" controls style="width: 240px;">
		<a href="/captcha/{{.CaptchaID}}.wav?lang={{ call $.T "language_code" }}">{{ call $.T "captcha_audio" }}</a>
		</audio>
		<input class="form-input up-input" type="text" name="solution" id="solution" class="form-control" style="display:block;" placeholder="{{call $.T "captcha"}}" autocomplete="off" required>
	</div>
	{{end}}
{{end}}