{#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 textbox question edit display.
author Dr Joseph Baxter
copyright 2018 onwards The University of Nottingham
Required variables:
data.termscount - number of existing terms
data.terms - array of existing terms
data.disclass - class to disable text
data.readonly - class to make text readonly
data.locked - flag to indicate if question is locked
Required localised text -
lang.qassessmentsummary - title of the section
lang.terms - terms section info blurb
lang.termno - title for a term (the number of the term will be appended)
land.addterm - text for adding a new term
#}
{{lang.terms}}
{% if data.termscount > 0 %}
{% for item in data.terms %}
{% endfor %}
{% endif %}
{% if not data.locked %}
{% set termscount = data.termscount + 1 %}