Refactor view button in exam scores user template to remove unnecessary class
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
<div class="text-end ms-3">
|
||||
{% if exam.publish_results %}
|
||||
<button type="button" class="btn btn-sm btn-outline-primary view-question-link" data-qn={{forloop.counter0}}>View</button>
|
||||
<button type="button" class="btn btn-sm btn-outline-primary" data-qn={{forloop.counter0}}>View</button>
|
||||
{% else %}
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary" disabled>View</button>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user