fix: quiz creation url
This commit is contained in:
@@ -120,9 +120,8 @@ const quiz_summary = (e = undefined) => {
|
||||
$(".quiz-footer span").addClass("hide");
|
||||
$("#quiz-form").prepend(
|
||||
`<div class="summary bold-heading text-center">
|
||||
${__("Your score is ")} ${data.message.score} ${__(
|
||||
" out of "
|
||||
)} ${total_questions}
|
||||
${__("Your score is")} ${data.message.score}
|
||||
${__("out of")} ${total_questions}
|
||||
</div>`
|
||||
);
|
||||
$("#try-again").attr("data-submission", data.message.submission);
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
<a class="btn btn-default btn-sm" href="/assignments/new-assignment">
|
||||
{{ _("Create Assignment") }}
|
||||
</a>
|
||||
<a class="btn btn-default btn-sm ml-2" href="/assignments/new-quiz">
|
||||
<a class="btn btn-default btn-sm ml-2" href="/quizzes/new-quiz">
|
||||
{{ _("Create Quiz") }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user