summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-19 14:29:54 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-19 14:29:54 -0500
commitfb8161b84592b0cdec69e8cc5f9e9a78869bb2d9 (patch)
treef73839c570409e1d7590fc8ee5a611db9e1ff484
parentd0f2ac685b704168d444b235dcd01b2b4f2d059f (diff)
simplify and compact the comment edit form
Mostly to make it more visually similar to the page edit form. I'm a bit uncertian about the placement of the page type selector, and about removing the "Page type". May rethink that.
-rw-r--r--templates/editcomment.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/editcomment.tmpl b/templates/editcomment.tmpl
index 1f4c1fc23..891bcae65 100644
--- a/templates/editcomment.tmpl
+++ b/templates/editcomment.tmpl
@@ -9,13 +9,10 @@
Name: <TMPL_VAR NAME=FIELD-AUTHOR> (optional)<br />
Website: <TMPL_VAR NAME=FIELD-URL> (optional)<br />
</TMPL_IF>
-</TMPL_IF>
+</TMPL_UNLESS>
Subject: <TMPL_VAR FIELD-SUBJECT><br />
<TMPL_VAR FIELD-EDITCONTENT><br />
-Page type: <TMPL_VAR FIELD-TYPE><br />
-<TMPL_VAR FORM-SUBMIT><br />
-<TMPL_VAR HELPONFORMATTINGLINK><br />
-A subset of HTML is allowed.<br />
+<TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not </TMPL_UNLESS>allowed in comments on this wiki.<br />
<TMPL_VAR NAME="FORM-END">