mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
feat: only numbers in captcha field on mobile
This commit is contained in:
parent
dafdd198e1
commit
c1f632ee03
@ -19,7 +19,7 @@
|
|||||||
<img src="/captcha/{{ .CaptchaID }}" alt="Captcha">
|
<img src="/captcha/{{ .CaptchaID }}" alt="Captcha">
|
||||||
</div>
|
</div>
|
||||||
<input class="form-control" type="hidden" name="captchaId" value="{{ .CaptchaID }}">
|
<input class="form-control" type="hidden" name="captchaId" value="{{ .CaptchaID }}">
|
||||||
<input class="form-control" id="postCaptcha" placeholder="Captcha" name="captcha">
|
<input class="form-control" id="postCaptcha" type="tel" pattern="\d+" placeholder="Captcha" name="captcha">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ if ne .FirstPostID 0 }}
|
{{ if ne .FirstPostID 0 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user