{# One card: a question and an answer, each with what may go on it. `place` is where it sits in the proposal, and none for a card made from scratch. The picture shows on its side, and the pictures to pick from in a strip under both sides, pointing at it. A card with none to pick from has a button to bring one instead. A sound plays on its side, with no speed: what is on the card is what is kept, and a button leaves it off the card. #} {% import "icons.html" as icon %} {% import "player.html" as player %}
{% for side in ["question", "answer"] %}
{% if card.picture_side == side %} {% endif %} {% if card.audio and card.audio_side == side %}
{{ player.sound(card.audio, size="small", wave=true, slow=false) }}
{% endif %}
{% endfor %}
{% for src in card.pictures %} {% endfor %}
{# Where both buttons above take a picture from: a file of the student's. #}
{# Reviewed from the question only, or both ways. #}