summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/article.html8
-rw-r--r--templates/journal_page.html10
2 files changed, 14 insertions, 4 deletions
diff --git a/templates/article.html b/templates/article.html
index 25013d6..c4ebff4 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -61,8 +61,9 @@
<form action="{action|html-attr-value}" accept-charset="UTF-8"
enctype="application/x-www-form-urlencoded" method="post">
<div style="display: none">
- <input name="id" type="hidden" value="{article-id|html-attr-value}" />
- <input name="action" type="hidden" value="post-comment" />
+ <input name="article" type="hidden" value="{article-id|html-attr-value}" />
+ <input name="revision" type="hidden" value="{revision|html-attr-value}" />
+ <input name="post-comment" type="hidden" />
</div>
<div class="comment-form-table">
{.repeated section fields}
@@ -83,8 +84,7 @@
</div>
<div class="comment-form-input">
<textarea id="comment-body" cols="60" rows="15"
- name="comment-body">
- </textarea>
+ name="body"></textarea>
</div>
</div>
</div>
diff --git a/templates/journal_page.html b/templates/journal_page.html
index d9646f3..2e0ed61 100644
--- a/templates/journal_page.html
+++ b/templates/journal_page.html
@@ -10,6 +10,16 @@
<h1 id="main-title">{site-name|html}</h1>
<div id="main-subtitle">{site-subtitle|html}</div>
+ {.section warnings}
+ <div id="warnings">
+ {.repeated section @}
+ <div class="journal-warning">
+ {@}
+ </div>
+ {.end}
+ </div>
+ {.end}
+
<div id="articles">
{.repeated section articles}
{@|article-html}