X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvote.html;h=8c0f3e1b14e4b5865459b9d406309fae7d8b5f2e;hb=c3c288ea9ed3cfc8ef208cb3746bfe3715cf5a00;hp=86b020dab1107a8283645ab91b721f208f4ae023;hpb=df5ece768e1f6197ca618c89490563e0420fce9d;p=cavote.git
diff --git a/templates/vote.html b/templates/vote.html
index 86b020d..8c0f3e1 100644
--- a/templates/vote.html
+++ b/templates/vote.html
@@ -14,7 +14,9 @@
{% for choice in choices %}
{{ choice.name }} |
{% endfor %}
+ {% if 'user' in session %}
|
+ {% endif %}
@@ -29,7 +31,9 @@
{% else %}
| {% endif %}
{% endfor %}
- {% if 'user' in session and user.userid == session.user.id %}{% endif %} |
+ {% if 'user' in session %}
+ {% if user.userid == session.user.id %}{% endif %} |
+ {% endif %}
{% endif %}
{% endfor %}
@@ -60,7 +64,9 @@
{% for choice in choices %}
{{ choice.nb }} |
{% endfor %}
+ {% if 'user' in session %}
|
+ {% endif %}
{% endif %}