]> projects.mako.cc - selectricity-live/blob - app/views/embed/_backdrop.rhtml
Can upload images on the edit_general_information page as well, but has no checks...
[selectricity-live] / 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?