add context to cloning forms

This commit is contained in:
Ross
2024-03-11 11:48:37 +00:00
parent 0cb38f5c31
commit a62023a5d8
17 changed files with 65 additions and 97 deletions
+3
View File
@@ -783,6 +783,9 @@ class CaseCollection(ExamOrCollectionGenericBase):
def get_app_name(self):
return "atlas"
def get_base_template(self):
return "atlas/base.html"
def get_link_headers(self):
return f"{self.get_app_name()}/collection_headers.html"
@@ -1,6 +1,9 @@
{% extends 'atlas/exams.html' %}
{% block content %}
<h2>{{collection.name}}</h2>
{% include 'exam_notes.html' %}
<div>
Exam mode: {{collection.exam_mode}}<br />
Publish results: {{collection.publish_results}}<br />
@@ -16,7 +16,3 @@
</div>
{% endif %}
<h2>{{collection.name}}</h2>
{% include 'exam_notes.html' %}