{% import "icons.html" as icons %}
{{ category.name }} / {{ challenge.name }}
{%- for division_points in challenge.division_points -%} {%- endfor -%}
{{ divisions[division_points.division_id].name }} {{ t("solves", solves=division_points.solves) }} {{ t("points", points=division_points.points) }}
{{ t("solves-points", solves=challenge.division_points[0].solves, points=challenge.division_points[0].points) }}
{{ challenge.description | safe }}
{% with solve=team.solves[challenge.id] %} {% if not solve %}
{% else %} {% if not user_writeups[challenge.id] %}
{{ icons.spinner(attrs='class="animate-spin"') }}
{% else %} {% endif %} {% if team.writeups[challenge.id] %}
Team's writeups:
{% endif %} {% endif %} {% endwith %} {% if challenge.attachments | length > 0 %}
{% for attachment in challenge.attachments %}
{{ icons.attachment() }}
{{ attachment.name }}
{% endfor %}
{% endif %}