rudimentary file uploading. Saves as sha1 like git objects. code is in lib. needs...
[zzz-floof.git] / floof / templates / art / new.mako
diff --git a/floof/templates/art/new.mako b/floof/templates/art/new.mako
new file mode 100644 (file)
index 0000000..4988917
--- /dev/null
@@ -0,0 +1,9 @@
+<%inherit file="/base.mako" />
+
+<h1>Add New Art</h1>
+<p>Now: Upload a file.  Later: Supply a link?  Not exclusive to uploading.</p>
+
+${h.form(h.url_for(controller='art', action='upload'), multipart=True)}
+${h.file('file')}
+${h.submit('submit', 'Upload!')}
+${h.end_form()}
\ No newline at end of file