This commit is contained in:
Ross
2021-10-16 12:01:25 +01:00
parent 61f285ad83
commit 5ef0cfaeb4
2 changed files with 17 additions and 4 deletions
+13
View File
@@ -85,6 +85,9 @@
Mark</span>, <span class="incorrect">0 Marks</span></div>
</div>
{% endif %}
{% if review %}
<button type="submit" name="next" class="check-review btn btn-default">Check review answers</button>
{% endif %}
{% if question_details.current > 1 %}
<button type="submit" name="previous" class="save btn btn-default">Previous</button>
{% endif %}
@@ -99,4 +102,14 @@
</span>
</form>
</div>
{% if review %}
<script>
$("button.check-review").click(() =>{
$(".marking-list .answer").each((n, el) => {
console.log(n, el);
})
})
</script>
{% endif %}
{% endblock %}