X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/4b1116ca47b6e19d147ca45b7ed359eea22b95ec..e51c98a37882eaa39c0e3f1b8727ba06ecd7e626:/templates/upload.htm

diff --git a/templates/upload.htm b/templates/upload.htm
index cdc1f37..be3e2d0 100644
--- a/templates/upload.htm
+++ b/templates/upload.htm
@@ -12,12 +12,10 @@
 
 <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p>
 
-<p><a href="{SCRIPT}?command=show&amp;file={DIR}">Back to {DIR}</a></p>
+<p><a href="{SCRIPT}?command=show&amp;file={DIR_URL}">Back to {DIR}</a></p>
 
 <p>Using this form, you can upload a file to the current directory ('{DIR}').</p>
 
-<p><b>Note:</b> Currently, existing files can't be overwritten, so be careful!</p>
-
 <hr>
 
 <form action="{SCRIPT}" method="post" enctype="multipart/form-data">
@@ -28,9 +26,9 @@
 <input type="file" name="uploaded_file" size="35"></p>
 
 <p>Transfer mode (see below):<br>
-<input type="radio" name="ascii" value="1">ASCII <input type="radio" name="ascii" value="0" checked>Binary (default)</p>
+<input type="radio" name="ascii" id="ascii" value="1"><label for="ascii">ASCII</label> <input type="radio" name="ascii" id="binary" value="0" checked><label for="binary">Binary (default)</label></p>
 
-<p><input type="checkbox" name="overwrite">Overwrite file if it already exists</p>
+<p><input type="checkbox" name="overwrite" id="overwrite"><label for="overwrite">Overwrite existing file</label></p>
 
 <p><input type="submit" value="Upload file!"></p>
 </form>