This commit is contained in:
Ross
2022-01-03 17:09:19 +00:00
parent 7330b036d4
commit a9dcdc5fd2
+1 -1
View File
@@ -14,7 +14,7 @@
<a href="{% url app_name|add:':exam_scores_cid' pk=exam.pk %}" class="flex-col">Scores</a>
<input type="checkbox" id="{{exam.pk}}-pub" class="exam-publish-results-switch" data-posturl="{% url app_name|add:':exam_toggle_results_published' pk=exam.pk %}"
{% if exam.publish_results %}checked{% endif %}>
<label for="{{exam.pk}}-pub" class="flex-col icon-container published-icon {% if exam.publish_results %}published{% endif %}">Results Published</label>
<label for="{{exam.pk}}-pub" class="flex-col icon-container published-icon">Results Published</label>
</li>
{% endif %}
{% endfor %}