From fb8161b84592b0cdec69e8cc5f9e9a78869bb2d9 Mon Sep 17 00:00:00 2001 From: Joey Hess <joey@gnu.kitenet.net> Date: Fri, 19 Dec 2008 14:29:54 -0500 Subject: 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. --- templates/editcomment.tmpl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'templates') 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"> -- cgit v1.2.3