1 <ol class="pollResultList">
2 {foreach from=$poll->getOptions(true) item=option}
3 <li class="pollResultItem">
4 <span class="pollMeter" style="width: {if $option->getRelativeVotes($poll)}{@$option->getRelativeVotes($poll)}%{else}0{/if}"> </span>
6 <span class="optionName">
7 {$option->optionValue} ({#$option->votes})</span>
8 <span class="relativeVotes">{@$option->getRelativeVotes($poll)}%</span>