{% if basket.isVoteBasket() %}
{{ basket.getVoteString(app, app.getAuthenticatedUser()) }}
{% for choice in basket_element.getVotes(true) %}
{% if basket.getParticipant(app.getAuthenticatedUser()).getCanSeeOthers() or choice.getParticipant().getUser() == app.getAuthenticatedUser() %}
{% if choice.getAgreement() == true %}
{% set classuser = 'agree' %}
{% elseif choice.getAgreement() is null %}
{% set classuser = '' %}
{% else %}
{% set classuser = 'disagree' %}
{% endif %}
{% set participant = choice.getParticipant().getUser() %}
{% if choice.getParticipant().getCanAgree() %}
- {{participant.getDisplayName()}}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% if basket_element and basket_element.getBasket().isVoteBasket() and (basket.isVoteFinished() != true) and basket.getParticipant(app.getAuthenticatedUser()).getCanAgree() %}
{% set agreement = basket_element.getUserVote(app.getAuthenticatedUser(), true).getAgreement() %}
{{ 'validation:: OUI' | trans }}
{{ 'validation:: NON' | trans }}
{% endif %}
{% if basket_element.getBasket().isVoteBasket() %}
{% endif %}