added list of why your comment might have failed
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
{{ template "header.tmpl" . }}
|
{{ template "header.tmpl" . }}
|
||||||
<h2>Your comment <u>failed</u> to be posted...</h2>
|
<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>
|
<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"/>
|
<p>
|
||||||
<script>
|
<h3>Your comment failed for one of these reasons:</h3>
|
||||||
setTimeout(() => {
|
</p>
|
||||||
window.location.replace("/blog/post/" + document.getElementById("url").value)
|
<ul>
|
||||||
}, 1500)
|
<li>You failed the captcha.</li>
|
||||||
</script>
|
<li>Your post had links in it.</li>
|
||||||
|
<li>The name on your comment was "rawley" or "admin".</li>
|
||||||
|
</ul>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user