mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
add hidden input with captcha id in form
This commit is contained in:
parent
b2fdb89d49
commit
096948bcaa
@ -76,6 +76,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
<textarea class="form-control" id="postText" rows="5" placeholder="Text" name="text"></textarea>
|
<textarea class="form-control" id="postText" rows="5" placeholder="Text" name="text"></textarea>
|
||||||
<input class="form-control" type="file" id="postFiles" multiple name="files">
|
<input class="form-control" type="file" id="postFiles" multiple name="files">
|
||||||
|
<input class="form-control" type="hidden" id="postCaptcha" name="captchaId" value="{{ .CaptchaID }}">
|
||||||
|
|
||||||
<img src="/captcha/{{ .CaptchaID }}" alt="Captcha">
|
<img src="/captcha/{{ .CaptchaID }}" alt="Captcha">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user