{% extends "oahpa.html" %} {% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% block content %}
{% block submit %}{% endblock %}
{% for form in forms %} {% ifnotequal settings.gametype 'bare' %} {% ifnotequal forloop.counter 1 %} {% endifnotequal %} {% endifnotequal %} {% block question %}{% endblock %} {% if show_correct %} {% else %} {% endif %} {% endfor %}
 
{% if form.answertext1 %}{{ form.answertext1 }}{% endif %} {% if form.pron %}   {{ form.pron }}   {% endif %} {% ifequal form.error "correct" %} {{ form.userans }} {% else %} {% ifequal form.error "error" %} {{ form.userans }} {% else %} ___________________ {% endifequal %} {% endifequal %} {% if form.pron_imp %}   {{ form.pron_imp }}   {% endif %} {% if form.answertext2 %}{{ form.answertext2 }}{% endif %} {% if form.answertext1 %}{{ form.answertext1 }}{% endif %} {% ifnotequal form.userans "" %} {% if form.pron %}   {{ form.pron }}   {% endif %} {% ifequal form.error "correct" %} {{ form.userans }} {% else %} {{ form.answer }} {% endifequal %} {% if form.pron_imp %}   {{ form.pron_imp }}   {% endif %} {% else %} {% if form.pron %}   {{ form.pron }}   {% endif %} {{ form.answer}} {% if form.pron_imp %}   {{ form.pron_imp }}   {% endif %} {% endifnotequal %} {% if form.answertext2 %}{{ form.answertext2 }}{% endif %} {% if show_correct %} {% ifnotequal form.error "correct" %} {{ form.correct_answers }} {% endifnotequal %} {% else %} {% ifequal form.error "error" %} {% if form.feedback %} {% trans "help" %} {% endif %} {% endifequal %} {% endif %} {{ form.word_id }} {{ form.tag_id }} {{ form.question_id }} {{ form.answer_id }} {{ form.questiondetails }} {{ form.qstring }} {{ form.astring }} {% for detail, value in form.qattrs.items %} {% endfor %} {% for detail, value in form.aattrs.items %} {% endfor %}
{% if score %}  
{% if all_correct %} {% trans "Congratulations!" %} {% endif %}
{% trans "Your score:" %} {{ score }} {% endif %} {% ifequal LANGUAGE_CODE "no" %} {% if comment %}
{{ comment }} {% endif %} {% endifequal %}

{% block gamename %}{% endblock %}

{% block instructions %}{% endblock %}
{% endblock %}