testappproj/templates/new_edit_problem.html~
author amit@thunder
Mon, 17 May 2010 22:33:59 +0530
changeset 0 0b061d58aea3
permissions -rw-r--r--
First commit to Fossee of testapp has the basic Pykata framework on django with some specific changes to Problems model and some views to suit an exam like system

{%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%}