Fix template for polls

This commit is contained in:
Thomas Sileo 2019-08-15 14:56:32 +02:00
parent 1f62c9f4e4
commit 6c83f5852b

View file

@ -122,7 +122,7 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="bar-item">vote</button>
</form></span>
{% elif session.logged_in and already_voted %}
{% elif session.logged_in and already_voted and not (real_end_time | gtnow) %}
<span style="position:relative;top:5px;height:10px;width:50px;display:inline-block;"></span>
{% endif %}
<span class="answer-bar color-menu-background" style="width:{{pct}}%;"></span>