diff options
author | Ian Bicking <ian@ianbicking.org> | 2005-07-17 22:46:58 +0000 |
---|---|---|
committer | Ian Bicking <ian@ianbicking.org> | 2005-07-17 22:46:58 +0000 |
commit | 2d42edc7c0a7a13ed66d89b2d3ab4f598c5c9b12 (patch) | |
tree | fbf3f0ec2e9d128a7ec4438b6b1f5f289bc97128 | |
parent | c912b0254874f25132e54902d72cee0bdcfd5d31 (diff) | |
download | paste-git-2d42edc7c0a7a13ed66d89b2d3ab4f598c5c9b12.tar.gz |
Added upload form
-rw-r--r-- | examples/filebrowser/templates/directory.pt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/filebrowser/templates/directory.pt b/examples/filebrowser/templates/directory.pt index 5f0df9a..fb49642 100644 --- a/examples/filebrowser/templates/directory.pt +++ b/examples/filebrowser/templates/directory.pt @@ -38,5 +38,12 @@ There are no files in this directory </p> +<form tal:attributes="action options/upload_url" method="POST" + enctype="multipart/form-data"> +Upload: <input type="hidden" name="action" value="upload"> +<input type="file" name="file"> +<input type="submit" value="Upload"> +</form> + </metal:body> </html>
\ No newline at end of file |