<tbody>
{% for user in users %}
- {% if vote.is_transparent or user.userid == session.user.id %}
+ {% if vote.is_transparent or (session.user and user.userid == session.user.id )%}
<tr>
<th>{% if 'user' in session and user.userid == session.user.id %}<i class="icon-user"></i>{% endif %} {{ user.username }}</th>
{% for choice in choices %}
</div>
{% endif %}
<dl class="dl-horizontal">
- <dt>Publié par <dd><code>maethor</code>
+ <dt>Publié par <dd><code>{{ vote.author }}</code>
<dt>Début le <dd><code>{{ vote.date_begin }}</code>
<dt>Deadline le <dd><code>{{ vote.date_end }}</code>
<dt>Groupe <dd><code>{{ vote.groupname }}</code>