add markers to exams (move away from group based to content based permissions)

This commit is contained in:
Ross
2024-08-05 10:45:38 +01:00
parent cff5a46e4c
commit e46f843284
33 changed files with 299 additions and 23 deletions
+27
View File
@@ -0,0 +1,27 @@
{% extends object.get_base_template %}
{% block js %}
{{ form.media }}
{% endblock %}
{% block navigation %}
{{ block.super }}
{% include object.get_link_headers %}
{% endblock navigation %}
{% block content %}
<h2>Edit Markers</h2>
Markers have access to mark the exam, but they cannot otherwise edit it.
<form action="" method="post">
{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Submit">
<a href="{{ object.get_absolute_url }}" class="btn btn-default">Cancel</a>
</form>
{% endblock %}