{% set current_theme = current_theme() %} {% set config = config() %} {{ current_theme.headertags() }} {{ evaluation.title }} - {{ _('Evaluación') }} {{ current_theme.local_style() }} {{ current_theme.navbar() }}
{{ current_theme.notify() }}

{{ evaluation.title }}

{% if evaluation.is_exam %} {{ _('Examen') }} {% else %} {{ _('Quiz') }} {% endif %}
{% if evaluation.description %}

{{ evaluation.description }}

{% endif %}
{{ _('Instrucciones:') }}
  • {{ _('Puntuación mínima para aprobar:') }} {{ evaluation.passing_score }}%
  • {% if evaluation.max_attempts %}
  • {{ _('Número máximo de intentos:') }} {{ evaluation.max_attempts }}
  • {% else %}
  • {{ _('Intentos ilimitados') }}
  • {% endif %} {% if evaluation.available_until %}
  • {{ _('Disponible hasta:') }} {{ evaluation.available_until.strftime('%d/%m/%Y %H:%M') }}
  • {% endif %}
{% for question in evaluation.questions %}
{{ _('Pregunta') }} {{ loop.index }}

{{ question.text }}

{% if question.type == "boolean" %}
{% elif question.type == "multiple" %} {% set correct_count = question.options | selectattr("is_correct", "equalto", true) | list | length %} {% if correct_count > 1 %}

{{ _('Seleccione todas las opciones correctas:') }}

{% for option in question.options %}
{% endfor %} {% else %}

{{ _('Seleccione una opción:') }}

{% for option in question.options %}
{% endfor %} {% endif %} {% endif %}
{% endfor %}