mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix template for polls
This commit is contained in:
parent
1f62c9f4e4
commit
6c83f5852b
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@
|
||||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||||
<button type="submit" class="bar-item">vote</button>
|
<button type="submit" class="bar-item">vote</button>
|
||||||
</form></span>
|
</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>
|
<span style="position:relative;top:5px;height:10px;width:50px;display:inline-block;"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="answer-bar color-menu-background" style="width:{{pct}}%;"></span>
|
<span class="answer-bar color-menu-background" style="width:{{pct}}%;"></span>
|
||||||
|
|
Loading…
Reference in a new issue