--- /dev/null
+<div id="cand<%= @candidate.id %>">
+ <li>
+ <%= @candidate.name %>
+ <% if @edit %>
+ <%= link_to_remote "Delete",
+ :complete => "Element.remove('cand#{@candidate.id}')",
+ :url => { :action => :delete_candidate, :id => @candidate.id } %>
+ <% end %>
+
+ </li>
+</div>