New edit page
authorBernie Innocenti <bernie@codewiz.org>
Thu, 23 Sep 2010 19:08:24 +0000 (15:08 -0400)
committerBernie Innocenti <bernie@codewiz.org>
Thu, 23 Sep 2010 19:08:24 +0000 (15:08 -0400)
sys/EditPage

index bd84e300714492ee7d461c9a0dd135ca36311a6c..b33b583f2ef8d4d730cc7cc8f16ead38e42d0bb3 100644 (file)
@@ -3,11 +3,11 @@
 <form method="post" enctype="multipart/form-data" action="<<HttpGet|q>>" >
 <input type="hidden" name="a" value="edit">
 <input type="hidden" name="q" value="<<HttpGet|q>>">
-<input type="input" id="editor" name="changelog" value="Edit page <<HttpGet|q>>" accesskey="c" />
-\\
-<textarea wrap="off" spellcheck="true" id="editor" name="savetext" rows="17" cols="100" accesskey="e"><<EDIT_BODY>></textarea>
+<textarea wrap="off" autofocus="true" spellcheck="true" id="editor" name="savetext" rows="17" cols="100" accesskey="e"><<EDIT_BODY>></textarea>
 <label for="file" accesskey="u">Or upload a file:</label> <input type="file" name="file" value="<<HttpPost|file>>" />
 \\
+<input type="input" id="editor" name="changelog" value="Edit page <<HttpGet|q>>" accesskey="c" />
+\\
 <input type="submit" name="save" value="Save" accesskey="s" />
 <input type="submit" name="preview" value="Preview" accesskey="p" />
 <input type="reset" value="Reset" />