- <%@election.candidates.length.times do |count|%>
- <% if (count%2)==0%>
- <img src="/images/widget_dark.png"
- style="position:absolute;top:<%=(count+1)*53%>px;">
- <% else %>
- <img src="/images/widget_light.png"
- style="position:absolute;top:<%=(count+1)*53%>px">
- <% end %>
- <p class="position"
- style="position:absolute;top:<%=(10+(count+1)*53)%>px;left:10px">
- <%=count+1%>
- </p>
- <%end%>