--- a/testappproj/templates/new_edit_problem.html Fri May 21 02:40:17 2010 +0530
+++ b/testappproj/templates/new_edit_problem.html Mon May 31 19:18:57 2010 +0530
@@ -1,22 +1,12 @@
{%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">
+ <form action="" method="post" enctype="multipart/form-data">
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Save" />
</form>
-
+<hr />
{%endblock%}