add markers to exams (move away from group based to content based permissions)
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
{% block content %}
|
||||
|
||||
<h2>Edit Authors</h2>
|
||||
<p>Authors have full access to access and edit the exam/collection (including the ability to add/remove other authors).</p>
|
||||
|
||||
<p>If you just want a user to be able to mark questions add them as a marker instead.</p>
|
||||
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
|
||||
@@ -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 %}
|
||||
Reference in New Issue
Block a user