Fixing poll markup
[wolnelektury.git] / apps / polls / templates / polls / tags / poll.html
index 355348a..8566a9d 100644 (file)
@@ -9,11 +9,7 @@
                 {% for item in poll.items.all %}
                     <li>
                         {{item.content}}
-                        <div class="poll-bar"><div class="poll-bar-inner"
-                        {% if vote_count %}
-                                style="width:{{item.vote_ratio|stringformat:"f"}}%;"
-                        {% endif %}
-                        ></div></div>
+                        <div class="poll-bar"><div class="poll-bar-inner" style="width:{{item.vote_ratio|stringformat:"f"}}%;"></div>
                     </li>
                 {% endfor %}
                 </ul>