fix: quiz creation url

This commit is contained in:
Jannat Patel
2023-06-22 11:14:15 +05:30
parent c9a5c0801e
commit d8e11f69cc
2 changed files with 3 additions and 4 deletions

View File

@@ -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);

View File

@@ -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>