summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/article.html9
-rw-r--r--templates/journal_page.html3
2 files changed, 10 insertions, 2 deletions
diff --git a/templates/article.html b/templates/article.html
index c4ebff4..bd8b10a 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -59,7 +59,8 @@
<h2>{title}</h2>
{notes}
<form action="{action|html-attr-value}" accept-charset="UTF-8"
- enctype="application/x-www-form-urlencoded" method="post">
+ enctype="application/x-www-form-urlencoded" method="post"
+ class="comment-form">
<div style="display: none">
<input name="article" type="hidden" value="{article-id|html-attr-value}" />
<input name="revision" type="hidden" value="{revision|html-attr-value}" />
@@ -88,7 +89,11 @@
</div>
</div>
</div>
- <div><input type="submit" value="{submit-button-label|html-attr-value}"></div>
+ <div>
+ <input type="submit"
+ value="{submit-button-label|html-attr-value}"
+ class="comment-submit-button" />
+ </div>
</form>
{.end}
diff --git a/templates/journal_page.html b/templates/journal_page.html
index 2e0ed61..f793ff2 100644
--- a/templates/journal_page.html
+++ b/templates/journal_page.html
@@ -4,6 +4,9 @@
<link href="/journal/prettify/prettify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/journal/prettify/prettify.js"></script>
<script type="text/javascript" src="/journal/prettify/lang-lisp.js"></script>
+ <script type="text/javascript" src="/js/jquery.js"></script>
+ <script type="text/javascript" src="/js/sha256.js"></script>
+ <script type="text/javascript" src="/js/comment-submission.js"></script>
{.end}
{.section body}