add context to cloning forms
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{% extends view.model.app_name|add:"/exams.html" %}
|
||||
|
||||
{% block js %}
|
||||
{{ form.media }}
|
||||
{% endblock %}
|
||||
|
||||
{% block navigation %}
|
||||
{{ block.super }}
|
||||
{% include exam.get_link_headers %}
|
||||
{% endblock navigation %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>Cloning Exam: {{exam}}</h2>
|
||||
<p>
|
||||
This will create a new exam with the same settings, questions and answers as the original exam. <br/>
|
||||
Candidate groups and candidates will not be cloned.
|
||||
</p>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user