1 <%@election.candidates.length.times do |count|-%>
3 <img src=" <% if @bg1 -%>
4 <%= url_for @bg1.public_filename %>
6 /images/widget_dark.png
7 <% end -%> " style="position:absolute;top:<%=(count+1)*53%>px"/>
9 <img src=" <% if @bg2 -%>
10 <%=url_for @bg2.public_filename %>
12 /images/widget_light.png
14 style="position:absolute;top:<%=(count+1)*53%>px">
16 <p class="position" style="top:<%=(10+(count+1)*53)%>px;left:10px">