else:
vote['nb_votes'] = tmp['nb']
vote['percent'] = int((float(vote['nb_votes']) / float(vote['max_votes'])) * 100)
+ # :TODO:maethor:120606: Flash if user is concerned by the vote
return render_template('vote.html', vote=vote, attachments=attachments, choices=choices, users=users.values(), can_vote=can_vote(idvote, get_userid()))
flash(u'Vous n\'avez pas le droit de voir ce vote, désolé.')
return redirect(url_for('home'))