{% if interactionToDisplayed.interaction.hints is not empty %}

{{ 'hints' | trans }}

{% set penalties = app.session.get('penalties') %} {% set nbr_hint = 1 %} {% for hint in interactionToDisplayed.interaction.hints %} {% if penalties[hint.id] is defined %} {% else %} {% endif %} {% set nbr_hint = nbr_hint + 1 %} {% endfor %}
{{ "hint" | trans }} {{nbr_hint}} {{ "hint" | trans }} {{nbr_hint}}
{% endif %}