2 <img id="header_icon" src="/images/embed_header_icon.png" />
7 <ul id="rankings-list">
8 <% @voter.vote.rankings.each do |ranking| %>
9 <li class="ranking" id="ranking_<%= ranking.candidate.id %>">
10 <img alt="<%= white_list ranking.candidate.name %>"
11 src="<% if ranking.candidate.picture -%>
12 <%= url_for ranking.candidate.picture.public_filename(:thumb) -%>
14 /images/default_icon.png
16 <p class="ranking-info">
17 <strong><%= white_list ranking.candidate.name %></strong><br />
18 <%= white_list ranking.candidate.description %></p>
23 <div style="clear:both;"></div>
25 <div id="voting-bottom">
27 <a href="<%= url_for :action => :confirm, :id => @password, :embed => 'true' %>"><h2 id="submit_vote_button">Submit Vote</h2></a>
28 <p><b>Drag and drop</b> to rank your favorite videos</p>
33 <%= sortable_element 'rankings-list',
34 :url => { :action => "sort_candidates", :id => @voter.vote.id } %>