<div id="comments_list">
    {% if comments|length > 0 %}
        <h3>{{__('Comments', 'Comments of polled people')}}</h3>
        {% for comment in comments %}
            <div class="comment">
                {% if admin and not poll.expired %}
                    <a href="{{ path('remove_comment', {'poll_admin_id': poll.adminId, 'comment_id': comment.id}) }}" class="btn btn-link" title="{{__('Comments', 'Remove the comment')}}">
                        <span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">{{__('Generic', 'Remove')}}</span>
                    </a>
                {% endif %}
                <span class="comment_date">{{ comment.date }}</span>
                <b>{{ comment.name | raw}}</b>&nbsp;
                <span>{{ comment.comment | escape | nl2br }}</span>
            </div>
        {% endfor %}
    {% endif %}
    <div id="comments_alerts"></div>
</div>
