]> projects.mako.cc - selectricity-live/blobdiff - app/views/embed/full_vote.rhtml
added numbering back to embeddables, should count correctly no matter how many candid...
[selectricity-live] / app / views / embed / full_vote.rhtml
index 69eed9cc4bb4780d7b043a3c00689225b4a206a9..89e384ca9d5c1885b6dd8ee2dff5bb56ae81c7fa 100644 (file)
                        <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%>
        
        <ul id="rankings-list">
-               
-               
-               
       <% @voter.vote.rankings.each do |ranking| %>
                <li class="ranking" id="ranking_<%= ranking.candidate.id %>">
                        <img alt="<%= white_list ranking.candidate.name %>"

Benjamin Mako Hill || Want to submit a patch?