X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=blobdiff_plain;f=templates%2Fvote.html;h=8d6e9dd8ad231ad05d07ce7cb04631603fc97d03;hp=86b020dab1107a8283645ab91b721f208f4ae023;hb=e3913800e8bccbdc364b7f54d28a8d8efcfa2e1b;hpb=72d30f68410d38dc843c5f54a3a5770e8cea281f
diff --git a/templates/vote.html b/templates/vote.html
index 86b020d..8d6e9dd 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 %}