diff --git a/templates/captcha.html b/templates/captcha.html new file mode 100644 index 0000000..355c860 --- /dev/null +++ b/templates/captcha.html @@ -0,0 +1,7 @@ +{{ define "captcha" }} +
+ Captcha +
+ + +{{ end }} \ No newline at end of file diff --git a/templates/post-form.html b/templates/post-form.html index 8c7bea9..b12cf18 100644 --- a/templates/post-form.html +++ b/templates/post-form.html @@ -16,11 +16,7 @@ {{ if .IsCaptchaActive }} -
- Captcha -
- - + {{ template "captcha" .CaptchaID}} {{ end }}