{#This file is part of ExamSys ExamSys is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ExamSys is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ExamSys. If not, see . #} {# This template is for the leadin question type. author Dr Joseph Baxter copyright 2018 onwards The University of Nottingham Required variables: data.questionno - the question number data.mediawidth - width of the media data.mediaheight - height of the media data.language - language the media uses data.mediafile - the media file data.tmpcorrect - the correct answer data.useranswer - the users answer data.markscorrect - marks for a correct answer data.marksincorrect - marks for an incorrect answer data.scoremethod - the scoremethod data.marks - the total marks available #} {% if data.print %}
    {% for l in data.labels %}
  1. {% if l.type == 'media' %} {% else %} {{l.value}} {% endif %}
  2. {% endfor %}
{% for l in data.labels %} {% if l.correct %} {% if l.type == 'media' %}
{% else %}
{% endif %} {% endif %} {% endfor %} {% include 'paper/media.html' %}
{% else %}

{% endif %}