This commit is contained in:
Ross
2021-09-08 15:11:09 +01:00
parent c93cb8f368
commit 2ec18d6112
3 changed files with 17 additions and 1 deletions
@@ -188,6 +188,10 @@
$(this).remove();
sortable('.sortable');
$("#full-question-list li").each((n, el) => {
el.append($("<span class='exam-question-delete flex-col'>[DELETE]</span>"));
})
$("#full-question-list").append($("<button>Save exam order</button>").click(() => {
new_order = [];
$("#full-question-list li").each((n, el) => {
@@ -1,5 +1,5 @@
<div class="rapid {% if question.scrapped %}rapid-scrapped{% endif %}">
<button id="edit-button">Edit</button>
<button id="edit-button">Inline Edit</button>
<div class="date">
{{ question.created_date|date:"d/m/Y" }}
</div>