mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-23 06:42:33 +03:00
fbe39f45a3
* feat: header component * feat: captcha component * feat: rename all html files * feat: update github link * feat: all templates in subfolders * feat: separate thread card * feat: separate pagination * feat: update pagination * feat: separate post * lint
8 lines
323 B
HTML
8 lines
323 B
HTML
{{ define "captcha" }}
|
|
<div class="captcha-container text-center">
|
|
<img src="/captcha/{{ . }}" alt="Captcha">
|
|
</div>
|
|
<input class="form-control" type="hidden" name="captchaId" value="{{ . }}">
|
|
<input class="form-control" id="postCaptcha" type="tel" pattern="\d+" placeholder="Captcha" name="captcha">
|
|
{{ end }}
|