]> projects.mako.cc - selectricity/blob - app/views/embed/_backdrop.rhtml
847f9a3e3ce5c2b6ee18440c2af474f407e991bf
[selectricity] / app / views / embed / _backdrop.rhtml
1 <%@election.candidates.length.times do |count|-%>
2         <% if (count%2)==0-%>
3                 <img src="/images/widget_dark.png" 
4                 style="position:absolute;top:<%=(count+1)*53%>px;">
5                 <% else -%>
6                 <img src="/images/widget_light.png" 
7                 style="position:absolute;top:<%=(count+1)*53%>px">
8         <% end -%>
9         <p class="position" style="top:<%=(10+(count+1)*53)%>px;left:10px">
10         <%=count+1 -%>
11         </p>
12         
13 <%end%>

Benjamin Mako Hill || Want to submit a patch?