aboutsummaryrefslogtreecommitdiff
path: root/templates/editcomment.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-06-13 08:47:21 -0400
committerJoey Hess <joey@kitenet.net>2010-06-13 08:47:21 -0400
commitec3cadb0659e747e66c1cfd48a0475ee8bbe5bcb (patch)
tree7119dc248bdd887fdd7e94ab815fdbfa4b098d98 /templates/editcomment.tmpl
parent85546d570e36b85fce27755590ec6e8b8e1fce81 (diff)
downloadikiwiki-ec3cadb0659e747e66c1cfd48a0475ee8bbe5bcb.tar
ikiwiki-ec3cadb0659e747e66c1cfd48a0475ee8bbe5bcb.tar.gz
remove obsolete ol class=form for editpage and editcomment
The styling of labels on the form largely obsoleted the special styled ol, so just a few br's sufficed. Using an ol like that was not too semantically right (probably?) and could cause problems with customized local.css.
Diffstat (limited to 'templates/editcomment.tmpl')
-rw-r--r--templates/editcomment.tmpl16
1 files changed, 4 insertions, 12 deletions
diff --git a/templates/editcomment.tmpl b/templates/editcomment.tmpl
index f3a8e7395..a2edc691e 100644
--- a/templates/editcomment.tmpl
+++ b/templates/editcomment.tmpl
@@ -1,35 +1,27 @@
<div class="editcomment">
<TMPL_VAR MESSAGE>
+<br />
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-SID>
<TMPL_VAR FIELD-PAGE>
-<ol class="form">
<TMPL_UNLESS NAME=USERNAME>
<TMPL_IF NAME=ALLOWAUTHOR>
-<li>
<label for="author" class="block">Name:</label>
<TMPL_VAR NAME=FIELD-AUTHOR> (optional, or <a href="<TMPL_VAR SIGNINURL>">signin</a>)
-</li>
-<li>
+<br/>
<label for="url" class="block">Website:</label>
<TMPL_VAR NAME=FIELD-URL> (optional)
-</li>
+<br />
<TMPL_ELSE>
-<li>
(You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)
-</li>
+<br />
</TMPL_IF>
</TMPL_UNLESS>
-<li>
<label for="subject" class="block">Subject:</label>
<TMPL_VAR FIELD-SUBJECT><br />
-</li>
-<li>
<label for="editcontent" class="block">Comment:</label>
<TMPL_VAR FIELD-EDITCONTENT><br />
-</li>
-</ol>
<TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
<TMPL_VAR NAME="FORM-END">
<TMPL_VAR WMD_PREVIEW>