micrach/templates/components/captcha.html
Yanislav Igonin fbe39f45a3
Feature - Components refactor (#10)
* 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
2022-01-31 19:56:21 +03:00

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 }}