author | amit@thunder |
Mon, 12 Jul 2010 15:16:52 +0530 | |
changeset 6 | d0f107095b1a |
parent 0 | 0b061d58aea3 |
permissions | -rw-r--r-- |
{%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%}