--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testappproj/templates/new_edit_problem.html Mon May 17 22:33:59 2010 +0530
@@ -0,0 +1,22 @@
+{%block body%}
+
+{% if creating %}
+<h2>Upload Problems</h2>
+ <form action="/upload/" method="post" enctype="multipart/form-data">
+ <table>
+ {{ upload_form.as_table }}
+ </table>
+ <input type="submit" value="upload" />
+ </form>
+<hr />
+{% endif %}
+
+<h2>{% if creating %}Add{% else %}Edit{% endif %} Problem</h2>
+ <form action="" method="post">
+ <table>
+ {{ form.as_table }}
+ </table>
+ <input type="submit" value="Save" />
+</form>
+
+{%endblock%}