{%extends 'layout.html.twig' %} {% block stylesheets %} {{parent()}} {% endblock %} {% block body %} {{ parent() }}
{% if app.user.role == 'ROLE_ADMIN' %} Volver a Competiciones {% elseif app.user.role == 'ROLE_TUTOR'%} Volver a Campañas {% else %} Volver a Campañas {% endif %}
{{ include ('Trivial/records/recordsHeader.html.twig') }} {% for category in trivial.category %} {% set i = 1 %}
{{category.name}}
{% for attempt in pagination %} {% if attempt.cat_id == category.id %} {% set i = i + 1 %} {% endif %} {% endfor %} {% for user in users_notplay %} {% if category.id == user['category'].id %} {% endif %} {% endfor %}
POSICIÓN USUARIO PUNTUACIÓN
{{i}} {{attempt.user_name}} {{attempt.sum_score}}
{{user['user'].userName}} 0
{% endfor %}
{% endblock %} {% block javascripts %} {{parent()}}> {% endblock %}