summaryrefslogtreecommitdiff
path: root/templates/postcomment_form.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/postcomment_form.tmpl')
-rw-r--r--templates/postcomment_form.tmpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/postcomment_form.tmpl b/templates/postcomment_form.tmpl
new file mode 100644
index 000000000..293f0f17e
--- /dev/null
+++ b/templates/postcomment_form.tmpl
@@ -0,0 +1,25 @@
+<div class="postcomment-form">
+<TMPL_VAR MESSAGE>
+<TMPL_VAR FORM-START>
+<TMPL_VAR FIELD-DO>
+<TMPL_VAR FIELD-SID>
+<TMPL_VAR FIELD-PAGE>
+Subject: <TMPL_VAR FIELD-SUBJECT><br />
+<TMPL_VAR FIELD-BODY><br />
+<TMPL_VAR FORM-SUBMIT><br />
+<TMPL_VAR HELPONFORMATTINGLINK><br />
+HTML is <TMPL_UNLESS NAME="ALLOWHTML">not </TMPL_UNLESS>allowed.<br />
+IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not </TMPL_UNLESS>allowed.<br />
+<TMPL_VAR NAME="FORM-END">
+
+<TMPL_IF NAME="PAGE_PREVIEW">
+<hr />
+<div class="header">
+<span>Comment preview:</span>
+</div><!-- .header -->
+<div id="preview">
+<TMPL_VAR PAGE_PREVIEW>
+</div><!-- #preview -->
+</TMPL_IF>
+
+</div><!-- .postcomment-form -->