This commit is contained in:
Ross
2024-08-18 22:29:48 +01:00
parent c2185f73a6
commit 3cb84fb7c4
6 changed files with 29 additions and 12 deletions
+3 -4
View File
@@ -1,5 +1,6 @@
{% extends view.model.app_name|add:"/base.html" %}
{% load crispy_forms_tags %}
{% block js %}
{{ form.media }}
{% endblock %}
@@ -7,12 +8,10 @@
{% block content %}
<h2>Add Exam</h2>
Create a new exam. Questions and candidates can be added later.
<form action="" method="post">
{% csrf_token %}
<table>
{{ form }}
</table>
<input type="submit" value="Submit">
{% crispy form form.helper %}
</form>
{% endblock %}