added list of why your comment might have failed

This commit is contained in:
rawleyIfowler
2022-02-26 13:40:22 -06:00
parent 807ca8c5e6
commit 90c6d84a3e

View File

@@ -1,11 +1,13 @@
{{ template "header.tmpl" . }}
<h2>Your comment <u>failed</u> to be posted...</h2>
<p>You will be redirected or, click <a href="/blog/post/{{ .Url }}">here</a> to return to the blog post.</p>
<input value="{{ .Url }}" readonly style="display: none;" id="url"/>
<script>
setTimeout(() => {
window.location.replace("/blog/post/" + document.getElementById("url").value)
}, 1500)
</script>
<p>
<h3>Your comment failed for one of these reasons:</h3>
</p>
<ul>
<li>You failed the captcha.</li>
<li>Your post had links in it.</li>
<li>The name on your comment was "rawley" or "admin".</li>
</ul>
</body>
</html>