{% extends "game.html" %}
{% load i18n %}
{% load trans_to %}
{% get_current_language as LANGUAGE_CODE %}
{% block questionsetclass %}{% ifequal settings.gametype "bare" %}morfa{% else %}morfac{% endifequal %}{% endblock %}
{% block gametitlename %}{% ifequal settings.gametype "bare" %}MORFA-S{% else %}MORFA-C{% endifequal %}{% endblock %}
{% block imgprefix %}{% ifequal settings.gametype "bare" %}morfa{% else %}morfac{% endifequal %}{% endblock %}
{% block veiledning %}
{% ifequal LANGUAGE_CODE "sme" %}
http://oahpa.no/sme/useoahpa/morfa.html
{% endifequal %}
{% ifequal LANGUAGE_CODE "fi" %}
http://oahpa.no/sme/useoahpa/morfa.fin.html
{% endifequal %}
{% ifequal LANGUAGE_CODE "en" %}
http://oahpa.no/sme/useoahpa/morfa.eng.html
{% endifequal %}
{% ifequal LANGUAGE_CODE "no" %}
http://oahpa.no/sme/useoahpa/morfa.nob.html
{% endifequal %}
{% ifequal LANGUAGE_CODE "sv" %}
http://oahpa.no/sme/useoahpa/morfa.nob.html
{% endifequal %}
{% endblock %}
{% block navbar %}
{% ifequal settings.gametype "bare" %}
{% else %}
{% endifequal %}
{% endblock %}
{% block name %}{% trans "Morphology" %}{% endblock %}
{% block pagename %}/{{ URL_PREFIX }}/morfa/{% endblock %}
{% block settings %}
{% include 'grammar_links_menu.html' %}
{% endblock %}
{% block question %}
{% ifequal settings.gametype "bare" %}
{% if settings.pos == "Pron" or settings.pos == "Num" %}
{{ form.lemma }}
{% else %} {# pos = N,V,A - link to translation #}
{{ form.lemma }}
{% endif %}
{% else %} {# Morfa-C #}
{{ form.question }} {% if form.lemma %} ({{ form.lemma }}) {% endif %}
{% endifequal %}
{% endblock %}
{% block tooltip %}
{% include 'morfa_tooltip.html' %}
{% endblock %}