Add HTMX endpoint to set open access for exam questions and corresponding result template
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<div class="alert alert-info">
|
||||
{% if changed %}
|
||||
Updated {{ changed }} question{{ changed|pluralize }} in "{{ exam.name }}". Open access set to {{ state|yesno:"true,false" }}.
|
||||
{% else %}
|
||||
No questions were updated.
|
||||
{% endif %}
|
||||
<div class="mt-2">
|
||||
<button class="btn btn-sm btn-secondary" type="button" onclick="document.querySelector('#action-result').innerHTML='';">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user