1 <div class="candidate_box" id="cand<%= @current_candidate.id %>">
2 <div class="candidate_box_name">
4 <%=h @current_candidate.name %></div>
5 <div class="candidate_box_menu">
6 <%= link_to_remote "Delete",
7 :complete => "Element.remove('cand#{@current_candidate.id}')",
8 :url => { :action => :delete_candidate,
9 :id => @election.id, :candidate => @current_candidate.id } %>
11 <div class="clear-div"></div>
12 <%= render :partial => 'candidate_box_info' %>