{% extends "base.html" %} {% block title %}Session – Auf Deutsch{% endblock %} {% block content %}
{{ copy.steps.get(step.type, copy.steps.complete) }} {{ step_num }} / {{ total }}
{% if step.type == "review" %}

{{ copy.review_prompt }}

{{ phrase.en }}

{% if not reveal %}
{% else %}
{% if last_answer %}

{{ copy.your_answer }}: {{ last_answer }}

{% endif %}

{{ phrase.de }}

{% if phrase.usage %}

{{ phrase.usage }}

{% endif %}
{% endif %}
{% endif %} {% if step.type == "learn" %}

{{ phrase.de }}

{{ phrase.en }}

{% if phrase.literal %}

Literal: "{{ phrase.literal }}"

{% endif %}
{% if phrase.usage %}
{{ copy.usage }}

{{ phrase.usage }}

{% endif %} {% if phrase.examples %}
{{ copy.examples }} {% for ex in phrase.examples %}

{{ ex.de }}

{{ ex.en }}

{% endfor %}
{% endif %} {% if phrase.variations %}
{{ copy.variation }} {% for v in phrase.variations %}

{{ v.de }} – {{ v.en }}

{% endfor %}
{% endif %} {% if phrase.grammar_note %}
{{ copy.grammar }}

{{ phrase.grammar_note }}

{% endif %}
{% endif %} {% if step.type == "listening" or step.type == "multiple_choice" or step.type == "drill" %}

{% if step.type == "listening" %}{{ copy.listening_prompt }} {% elif step.type == "multiple_choice" %}{{ copy.choice_prompt }} {% else %}{{ exercise.prompt }}{% endif %}

{% if step.type == "listening" %}
{% elif step.type == "multiple_choice" %}

{{ exercise.prompt }}

{% endif %} {% if not reveal %}
{% for choice in exercise.choices %} {% endfor %}
{% else %}
{% if last_answer %}

{{ copy.your_answer }}: {{ last_answer }}

{% endif %}

{% if last_correct %}{{ copy.correct }}{% else %}{{ copy.try_again }}{% endif %}

{{ exercise.correct_choice }}

{% if phrase %}

{{ phrase.de }} — {{ phrase.en }}

{% endif %} {% if exercise.explanation %}

{{ exercise.explanation }}

{% endif %}
{% endif %}
{% endif %} {% if step.type == "dictation" %}

{{ copy.dictation_prompt }}

{% if not reveal %}
{% else %}
{% if last_answer %}

{{ copy.your_answer }}: {{ last_answer }}

{% endif %}

{% if last_correct %}{{ copy.correct }}{% else %}{{ copy.try_again }}{% endif %}

{{ phrase.de }}

{{ phrase.en }}

{% endif %}
{% endif %} {% if step.type == "dialogue" %}
{% if dialogue %}

{{ dialogue.situation }}

{% for i, line in dialogue.lines | enumerate %}
{{ line.speaker }}

{{ line.de }}

{{ line.en }}

{% endfor %}
{% else %}

{{ copy.dialogue_empty }}

{% endif %}
{% endif %} {% if step.type == "produce" %}

{{ copy.produce_prompt }}

{{ phrase.en }}

{% if not reveal %}
{% else %}
{% if last_answer %}

{{ copy.your_answer }}: {{ last_answer }}

{% endif %}

{{ phrase.de }}

{% endif %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}