diff simplewiki/templates/index.html @ 3:56ab6b90cd1a

[mq]: post
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Sep 2010 21:29:57 -0700
parents 2464e2051b78
children
line wrap: on
line diff
--- a/simplewiki/templates/index.html	Tue Sep 07 21:00:46 2010 -0700
+++ b/simplewiki/templates/index.html	Tue Sep 07 21:29:57 2010 -0700
@@ -12,5 +12,11 @@
   <li py:if="request.path_info != '/'"><a href="..">..</a></li>
   <li py:for="f in files"><a href="${f}">${f}</a></li>
 </ul>
+<form method="post" enctype="multipart/form-data">
+<p>Upload a file:</p>
+<input type="file" name="file"/>
+<input type="submit"/>
+</form>
+
 </body>
 </html>