X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/b5e102c4572593e7bd90b64b82715dd60b9ac1c2..d29e7ec36ee9d49763dfe72e52275f3a2709e1c2:/edumed/templates/contact/sciezki-kopernika-test/results.html diff --git a/edumed/templates/contact/sciezki-kopernika-test/results.html b/edumed/templates/contact/sciezki-kopernika-test/results.html new file mode 100644 index 0000000..bb421eb --- /dev/null +++ b/edumed/templates/contact/sciezki-kopernika-test/results.html @@ -0,0 +1,28 @@ +{% extends base_template|default:"base.html" %} +{% load i18n %} + +{% block title %}Wyniki{% endblock %} + +{% block body %} +

Wyniki

+ +

Suma uzyskanych punktów: {{ results.points|floatformat }} na {{ results.total }} możliwych.

+ +

Zgłoś się na warsztaty

+ + {% for question in results.questions %} + {{ question.label }} +
    + {% for answer, chosen, correct in question.answers %} +
  1. {{ answer }}
  2. + {% endfor %} +
+ {% if question.chosen == question.correct %} +

Wybrana poprawna odpowiedź {{ question.chosen }}.

+ {% else %} +

Wybrana odpowiedź {{ question.chosen }}, poprawna odpowiedź {{ question.correct }}.

+ {% endif %} +

Komentarz do odpowiedzi: {{ question.comment }}

+ {% endfor %} +

Zgłoś się na warsztaty

+{% endblock %} \ No newline at end of file