add context to cloning forms
This commit is contained in:
@@ -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' %}
|
||||
|
||||
Reference in New Issue
Block a user