{#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 fill in the blank question type with textbox display. author Dr Joseph Baxter copyright 2018 onwards The University of Nottingham Required variables: data.blankoptions - array of text and fill in the blank options blankoptions.itemtype - blurb or blank option list blankoptions.itemcount - id of fill in the blank option list blankoptions.unans - flag indicating if fill in the blank has been previously answered blankoptions.itemvalue - blurb text blankoptions.encoded_ans - previous user answer blankoptions.size - length of textbox #}

{% for i,p in data.blankoptions %} {% if p.itemtype == 'blurb' %} {{p.itemvalue|raw}} {% else %} {% endif %} {% endfor %}