{% extends "wagtailforms/submissions_index.html" %} {% load i18n wagtailadmin_tags accessors %} {% block titletag %}Résultats pour « {{ object.title }} »{% endblock %} {% block extra_js %} {% endblock %} {% block content %} {% fragment as form_actions %} {% icon name="download" wrapped=1 %}{% trans 'Download CSV' %} {% endfragment %} {% fragment as description %}{% if split_by %}Regroupés par « {{ split_by }} »{% endif %}{% endfragment %} {% include "includes/participation_header.html" with classname="w-header--no-border" title="Résultats pour" subtitle=object.title|capfirst icon="form" merged=1 extra_actions=form_actions form_page=object %}
{% if has_results %} {% for header, listing, participation in results %} {% if listing %} {% if split_by %}

Résultats pour « {{ split_by }} : {{ header | default_if_none:"Indéfini" }} »

{% include "includes/participation.html" %}
{% endif %} {% for field, field_results in listing.items %} {% for choice, count in field_results %} {% endfor %} {% endfor %}
Champs de formulaire Occurences Valeurs

{{ field | title }}

{{ count }}{{ choice | default_if_none:"Aucun(e)" }}
{% if split_by %}
{% endif %} {% endif %} {% endfor %} {% else %}

Il n'y a pas encore de réponse à ce scrutin.

{% endif %}
{% if can_split_by %}

Constituer les collèges

{% endif %}
{% endblock %}