{#This file is part of Rogō Rogō 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. Rogō 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 Rogō. If not, see . #} {# This template is for the multiple choice question type with vertical radio buttons display. author Dr Joseph Baxter copyright 2018 onwards The University of Nottingham Required variables: data.unanswered - flag to indicate if question has previously been answered data.questionno - question number data.options - the options options.selected - flag to indicate if option has previously been selected options.optiontextdisplay - flag to indicate if there is option text to display options.displayoptionmedia - flag to indicate if there is option media to display options.optionmedia - the option media options.optiontext - the option text options.position - option position options.inact - flag to indicate if option has previously been set as dismissed data.negativemarking - flag to indicate if negative marking is enabled data.abstainselected - flag to indicate if abstain option has previously been selected data.labelcolour - colour of label, controlled by user accessibility settings. data.dismiss - record of which options have been dismissed by the user Required localised text - lang.abstain - abstain #}
{% for i,p in data.options %} {% endfor %} {% if data.negativemarking %} {% endif %}
{% if p.optiontextdisplay %} {{p.optiontext|raw}}
{% endif %} {% if p.displayoptionmedia %} {% include 'paper/media.html' with {'data': p.optionmedia} %} {% endif %}
{{lang.abstain}}